MyDefinitionBase Class |
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:VRage.Game.MyDefinitionBase"]
Namespace: VRage.Game
public class MyDefinitionBase
The MyDefinitionBase type exposes the following members.
Name | Description | |
---|---|---|
MyDefinitionBase | Initializes a new instance of the MyDefinitionBase class |
Name | Description | |
---|---|---|
DescriptionText |
Use this property when showing description in GUI, as it takes into account more
complex description construction.
| |
DisplayNameText |
Use this property when showing name in GUI instead of DisplayName. This takes into
account more complex name construction.
|
Name | Description | |
---|---|---|
GetObjectBuilder | ||
Init | ||
Postprocess |
Override this in case you want to do some postprocessing of the definition before the game starts.
TODO: Obsolete me
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 | (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
AvailableInSurvival | ||
Context | ||
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.
| |
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.
| |
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
|