Enum PlaceableValidationRule
- Namespace
- MoonBark.GridPlacement.Core.Catalog
- Assembly
- MoonBark.GridPlacement.Core.dll
Validation rules for placeables.
public enum PlaceableValidationRule
Fields
CategoryNotEmpty = 3Validate that Category is not empty.
FilePathHasValidExtension = 7Validate that FilePath uses an engine-specific extension. Core does not apply this rule by default.
HasFilePathOrResourceUid = 2Validate that FilePath or ResourceUid is provided.
IdNotEmpty = 0Validate that ID is not empty and is well-formed.
IdWellFormed = 6Validate that ID is well-formed (lowercase, alphanumeric with underscores).
NameNotEmpty = 1Validate that Name is not empty.
ResourceCostNonNegative = 5Validate that ResourceCost values are non-negative.
ResourceUidHasValidPrefix = 8Validate that ResourceUid uses an engine-specific prefix. Core does not apply this rule by default.
SizePositive = 4Validate that Size has positive dimensions.