Sandbox.Definitions
MyFactionTypeDefinition
Assembly: Sandbox.Game.dll
public class MyFactionTypeDefinition: MyDefinitionBase
Fields
| Member | Description |
|---|---|
| FriendsWith | |
| PreferDeep | |
| Relations | |
| Station_Rule_Max_Deep | |
| Station_Rule_Max_Orbit | |
| Station_Rule_Max_Outpost | |
| Station_Rule_Max_Station | |
| Station_Rule_Min_Deep | |
| Station_Rule_Min_Orbit | |
| Station_Rule_Min_Outpost | |
| Station_Rule_Min_Station | |
| AvailableInSurvival | Inherited from MyDefinitionBase |
| Context | Inherited from MyDefinitionBase |
| DescriptionArgs | String used for shortcuts used in description Inherited from MyDefinitionBase |
| DescriptionEnum | Enum used for localization of description. Null for player created definitions. Inherited from MyDefinitionBase |
| DescriptionString | String used for user created description which do not have localization support. Inherited from MyDefinitionBase |
| Enabled | Definition can be disabled by mod, then it will be removed from definition manager Inherited from MyDefinitionBase |
| Icons | Icons for the definition, they are used from top to bottom. Inherited from MyDefinitionBase |
| Id | Inherited from MyDefinitionBase |
| Public | Indicates if definition should be offered in Cube builder Inherited from MyDefinitionBase |
Properties
Constructors
| Member | Description |
|---|---|
| MyFactionTypeDefinition() | |
| MyDefinitionBase() | Inherited from MyDefinitionBase |
Methods
| Member | Description |
|---|---|
| CheckDefinitionDLCs(String[]) | Checks if the definition has all required DLCs as it should have Inherited from MyDefinitionBase |
| GetObjectBuilder() | Inherited from MyDefinitionBase |
| Init(MyObjectBuilder_DefinitionBase, MyModContext) | Inherited from MyDefinitionBase |
| Postprocess() | Override this in case you want to do some postprocessing of the definition before the game starts. Prefer to use MyDefinitionPostprocessor instead.Postprocess is useful if you want to process the definition before the game begins, but you only want to do it when all the definitions are loaded and merged. Inherited from MyDefinitionBase |
| ToString() | Inherited from MyDefinitionBase |
Inheritance: MyDefinitionBase