Space Engineers
Classes | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
VRage.Game.MyContainerDefinition Class Reference
Inheritance diagram for VRage.Game.MyContainerDefinition:
VRage.Game.MyDefinitionBase

Classes

class  DefaultComponent
 

Public Member Functions

override MyObjectBuilder_DefinitionBase GetObjectBuilder ()
 
bool HasDefaultComponent (string component)
 This will search through definitions to find if Default Components contains the searched component either as BuilderType, InstanceType, or ComponentType More...
 
- 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 ()
 

Public Attributes

List< DefaultComponentDefaultComponents = new List<DefaultComponent>()
 
EntityFlags Flags
 
- 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
 

Protected Member Functions

override void Init (MyObjectBuilder_DefinitionBase builder)
 

Additional Inherited Members

- 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 11 of file MyContainerDefinition.cs.

Member Function Documentation

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

Reimplemented from VRage.Game.MyDefinitionBase.

Definition at line 32 of file MyContainerDefinition.cs.

bool VRage.Game.MyContainerDefinition.HasDefaultComponent ( string  component)
inline

This will search through definitions to find if Default Components contains the searched component either as BuilderType, InstanceType, or ComponentType

Parameters
componentName of the type to search for in defined default components
Returns
true if is defined component with the matching BuilderType, InstanceType or ComponentType

Definition at line 138 of file MyContainerDefinition.cs.

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

Reimplemented from VRage.Game.MyDefinitionBase.

Definition at line 67 of file MyContainerDefinition.cs.

Member Data Documentation

List<DefaultComponent> VRage.Game.MyContainerDefinition.DefaultComponents = new List<DefaultComponent>()

Definition at line 29 of file MyContainerDefinition.cs.

EntityFlags VRage.Game.MyContainerDefinition.Flags

Definition at line 30 of file MyContainerDefinition.cs.


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