VRage.Game
MyDefinitionBase
Assembly: VRage.Game.dll
public class MyDefinitionBase
Fields
| Member | Description |
|---|---|
| AvailableInSurvival | |
| Context | |
| DescriptionArgs | String used for shortcuts used in description |
| DescriptionEnum | Enum used for localization of description. Null for player created definitions. |
| DescriptionString | String used for user created description which do not have localization support. |
| Enabled | Definition can be disabled by mod, then it will be removed from definition manager |
| Icons | Icons for the definition, they are used from top to bottom. |
| Id | |
| Public | Indicates if definition should be offered in Cube builder |
Properties
| Member | Description |
|---|---|
| DescriptionText | Use this property when showing description in GUI, as it takes into account more complex description construction. |
| DisplayNameEnum | Enum used for localization of display name. Null for player created definitions. |
| DisplayNameString | String name used for user created definitions which do not have localization support. |
| DisplayNameText | Use this property when showing name in GUI instead of DisplayName. This takes into account more complex name construction. |
| DLCs |
Constructors
| Member | Description |
|---|---|
| MyDefinitionBase() |
Methods
| Member | Description |
|---|---|
| CheckDefinitionDLCs(String[]) | Checks if the definition has all required DLCs as it should have |
| GetObjectBuilder() | |
| Init(MyObjectBuilder_DefinitionBase, MyModContext) | |
| 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. |
| ToString() |
Inheritors:
- MyAiCommandDefinition
- MyAmmoDefinition
- MyAssetModifierDefinition
- MyAsteroidGeneratorDefinition
- MyAudioDefinition
- MyAudioEffectDefinition
- MyBehaviorDefinition
- MyBlockVariantGroup
- MyBlueprintClassDefinition
- MyBlueprintDefinitionBase
- MyBotDefinition
- MyCharacterDefinition
- MyComponentDefinitionBase
- MyComponentGroupDefinition
- MyContainerDefinition
- MyContainerTypeDefinition
- MyContractTypeDefinition
- MyControllerSchemaDefinition
- MyControllerSchemeDefinition
- MyCubeBlockTagDefinition
- MyCurveDefinition
- MyDebrisDefinition
- MyDebugScreenSearchCacheDefinition
- MyDlcDefinition
- MyDropContainerDefinition
- MyEdgesDefinition
- MyEmoteDefinition
- MyEntityStatDefinition
- MyEnvironmentDefinition
- MyEnvironmentItemsDefinition
- MyExhaustEffectDefinition
- MyFactionDefinition
- MyFactionNameDefinition
- MyFactionStationAdvertDefinition
- MyFactionTypeDefinition
- MyFlareDefinition
- MyFontDefinition
- MyGameDefinition
- MyGasProperties
- MyGhostCharacterDefinition
- MyGlobalEventDefinition
- MyGpsCollectionDefinition
- MyGridCreateToolDefinition
- MyGuiBlockCategoryDefinition
- MyGuiTextureAtlasDefinition
- MyHandItemDefinition
- MyHudDefinition
- MyLCDTextureDefinition
- MyMainMenuInventorySceneDefinition
- MyOffensiveWordsDefinition
- MyPhysicalItemDefinition
- MyPhysicalMaterialDefinition
- MyPhysicalModelCollectionDefinition
- MyPhysicalModelDefinition
- MyPirateAntennaDefinition
- MyPlanetGeneratorDefinition
- MyPlanetPrefabDefinition
- MyPrefabDefinition
- MyQuickStartDefinition
- MyReputationSettingsDefinition
- MyResearchBlockDefinition
- MyResearchDefinition
- MyResearchGroupDefinition
- MyResourceDistributionGroupDefinition
- MyRespawnShipDefinition
- MySafeZoneSettingsDefinition
- MySafeZoneTexturesDefinition
- MyScenarioCategoryDefinition
- MyScenarioDefinition
- MyShipSoundsDefinition
- MyShipSoundSystemDefinition
- MySoundCategoryDefinition
- MySpawnGroupDefinition
- MyStationsListDefinition
- MyStoryCategoryDefinition
- MyStoryDefinition
- MyTargetingGroupDefinition
- MyTransparentMaterialDefinition
- MyVisualSettingsDefinition
- MyVoxelHandDefinition
- MyVoxelMapStorageDefinition
- MyVoxelMaterialDefinition
- MyVoxelMaterialModifierDefinition
- MyWeaponDefinition
- MyWeatherEffectDefinition
- MyWheelModelsDefinition