csharp
public sealed class GameplayModuleBuilderWhat one module declares while it is being configured.
Remarks
Handed to Configure and never held afterwards. Everything it collects lands in the GameplayComposition stamped with the module that asked for it, so a duplicate attribute or a clashing definition tag can be reported as a disagreement between two named modules rather than as an anonymous conflict.
Fields and properties (1)
public string ModuleWhich module is being configured.
Methods (5)
public GameplayModuleBuilder Attribute(string name, float default = 0, float minimum = -Infinity, float maximum = Infinity, AttributeRounding rounding = None)Declares a stat.
public GameplayModuleBuilder Tag(string name)Declares a tag the module's own code needs, whether or not content mentions it.
public GameplayModuleBuilder Definition<TDefinition>() where TDefinition : DefinitionDeclares a definition type the module can read out of a .vxdef.
public GameplayModuleBuilder System(SystemPhase phase, Func<ISystem> create)Declares a system the module runs.
public GameplayModuleBuilder DependsOn<TModule>() where TModule : IGameplayModuleDeclares that this module does not work without another.
Used by (28)
- MmoModuleMmo.Shared
- ChatModuleVixen.Gameplay.Chat
- ClashingAttributeModuleVixen.Gameplay.Tests
- CollectionsModuleVixen.Gameplay.Collections
- CombatModuleVixen.Gameplay.Combat
- CombatTestModuleVixen.Gameplay.Tests
- CraftingModuleVixen.Gameplay.Crafting
- EconomyModuleVixen.Gameplay.Economy
- ExplorationModuleVixen.Gameplay.Exploration
- GameplayAiModuleVixen.Gameplay.Ai
- GameplayKernelModuleVixen.Gameplay
- HousingModuleVixen.Gameplay.Housing
- IGameplayModuleVixen.Gameplay
- InstanceModuleVixen.Gameplay.Instances
- InteractionModuleVixen.Gameplay.Interaction
- InventoryModuleVixen.Gameplay.Inventory
- ItemsModuleVixen.Gameplay.Items
- LootModuleVixen.Gameplay.Loot
- MovementModuleVixen.Gameplay.Movement
- ProgressionModuleVixen.Gameplay.Progression
- PvpModuleVixen.Gameplay.Pvp
- QuestModuleVixen.Gameplay.Quests
- QuestTestModuleVixen.Gameplay.Tests
- SecondQuestModuleVixen.Gameplay.Tests
- ShootingModuleVixen.Gameplay.Shooting
- SocialModuleVixen.Gameplay.Social
- TravelModuleVixen.Gameplay.Travel
- UndescribedDefinitionModuleVixen.Gameplay.Tests