Space Engineers
Public Member Functions | Protected Member Functions | List of all members
VRage.Game.MyComponentDefinitionBase Class Reference
Inheritance diagram for VRage.Game.MyComponentDefinitionBase:
VRage.Game.MyDefinitionBase Sandbox.Game.EntityComponents.MyCraftingComponentBasicDefinition Sandbox.Game.EntityComponents.MyCraftingComponentBlockDefinition Sandbox.Game.EntityComponents.MyCraftingComponentInteractiveDefinition Sandbox.Game.EntityComponents.MyEntityInventorySpawnComponent_Definition Sandbox.Game.EntityComponents.MyEntityStatComponentDefinition Sandbox.Game.EntityComponents.MyInventoryComponentDefinition Sandbox.Game.EntityComponents.MyModelComponentDefinition Sandbox.Game.EntityComponents.MyTimerComponentDefinition Sandbox.Game.EntityComponents.MyUseObjectsComponentDefinition VRage.Game.Definitions.MyModStorageComponentDefinition VRage.Game.MyPhysicsComponentDefinitionBase

Public Member Functions

override MyObjectBuilder_DefinitionBase GetObjectBuilder ()
 
override string ToString ()
 
- Public Member Functions inherited from VRage.Game.MyDefinitionBase
void Init (MyObjectBuilder_DefinitionBase builder, MyModContext modContext)
 
virtual void Postprocess ()
 Override this in case you want to do some postprocessing of the definition before the game starts. More...
 
void Save (string filepath)
 
override string ToString ()
 

Protected Member Functions

override void Init (MyObjectBuilder_DefinitionBase builder)
 

Additional Inherited Members

- Public Attributes inherited from VRage.Game.MyDefinitionBase
MyDefinitionId Id
 
MyStringId DisplayNameEnum
 Enum used for localization of display name. Null for player created definitions. More...
 
MyStringId DescriptionEnum
 Enum used for localization of description. Null for player created definitions. More...
 
String DisplayNameString
 String name used for user created definitions which do not have localization support. More...
 
String DescriptionString
 String used for user created description which do not have localization support. More...
 
string[] Icons
 Icons for the definition, they are used from top to bottom. More...
 
bool Enabled = true
 Definition can be disabled by mod, then it will be removed from definition manager More...
 
bool Public = true
 Indicates if definition should be offered in Cube builder More...
 
bool AvailableInSurvival
 
MyModContext Context
 
- Properties inherited from VRage.Game.MyDefinitionBase
virtual String DisplayNameText [get]
 Use this property when showing name in GUI instead of DisplayName. This takes into account more complex name construction. More...
 
virtual String DescriptionText [get]
 Use this property when showing description in GUI, as it takes into account more complex description construction. More...
 

Detailed Description

Definition at line 6 of file MyComponentDefinitionBase.cs.

Member Function Documentation

override MyObjectBuilder_DefinitionBase VRage.Game.MyComponentDefinitionBase.GetObjectBuilder ( )
inlinevirtual

Reimplemented from VRage.Game.MyDefinitionBase.

Reimplemented in VRage.Game.MyPhysicsComponentDefinitionBase.

Definition at line 15 of file MyComponentDefinitionBase.cs.

override void VRage.Game.MyComponentDefinitionBase.Init ( MyObjectBuilder_DefinitionBase  builder)
inlineprotectedvirtual

Reimplemented from VRage.Game.MyDefinitionBase.

Reimplemented in VRage.Game.MyPhysicsComponentDefinitionBase.

Definition at line 10 of file MyComponentDefinitionBase.cs.

override string VRage.Game.MyComponentDefinitionBase.ToString ( )
inline

Definition at line 20 of file MyComponentDefinitionBase.cs.


The documentation for this class was generated from the following file: