WorldStateDefinition
public sealed class WorldStateDefinitionNamespace MapExpansions
A named, reversible local world state. The consumer saves and replicates its id.
Properties
Section titled “Properties”public string Id { get; set; }public List<ObjectRule> Rules { get; }Type: ObjectRule
Copies
Section titled “Copies”public List<CopyDefinition> Copies { get; }Type: CopyDefinition
public List<ObjectMoveDefinition> Moves { get; }Type: ObjectMoveDefinition
Main-world objects that stand elsewhere in this state, for fixtures that must keep working.
PropertyExtensions
Section titled “PropertyExtensions”public List<PropertyExtensionDefinition> PropertyExtensions { get; }Type: PropertyExtensionDefinition
NavigationBounds
Section titled “NavigationBounds”public Bounds? NavigationBounds { get; set; }World-space volume baked by the host for the required NPC agent profiles when this state is applied.
NavigationProbes
Section titled “NavigationProbes”public List<Vector3> NavigationProbes { get; }Ordered world-space points which must have a complete walking path after baking.
NavigationAgents
Section titled “NavigationAgents”public List<string> NavigationAgents { get; }Exact registered agent names this state must support. Empty requires every registered profile.
public LayerSource Layer { get; set; }Type: LayerSource
An embedded editor layer containing copies, rules and boxes for this state.
Methods
Section titled “Methods”UseLayer
Section titled “UseLayer”public WorldStateDefinition UseLayer( System.Reflection.Assembly assembly, string resourceName)