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

Classes

struct  GuiDefinition
 

Public Member Functions

override MyObjectBuilder_DefinitionBase GetObjectBuilder ()
 
- 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

float MinValue
 
float MaxValue
 
float DefaultValue
 
bool EnabledInCreative
 
string Name
 
GuiDefinition GuiDef
 
- 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 13 of file MyEntityStatDefinition.cs.

Member Function Documentation

override MyObjectBuilder_DefinitionBase Sandbox.Definitions.MyEntityStatDefinition.GetObjectBuilder ( )
inlinevirtual

Reimplemented from VRage.Game.MyDefinitionBase.

Definition at line 66 of file MyEntityStatDefinition.cs.

override void Sandbox.Definitions.MyEntityStatDefinition.Init ( MyObjectBuilder_DefinitionBase  builder)
inlineprotectedvirtual

Reimplemented from VRage.Game.MyDefinitionBase.

Definition at line 38 of file MyEntityStatDefinition.cs.

Member Data Documentation

float Sandbox.Definitions.MyEntityStatDefinition.DefaultValue

Definition at line 30 of file MyEntityStatDefinition.cs.

bool Sandbox.Definitions.MyEntityStatDefinition.EnabledInCreative

Definition at line 32 of file MyEntityStatDefinition.cs.

GuiDefinition Sandbox.Definitions.MyEntityStatDefinition.GuiDef

Definition at line 36 of file MyEntityStatDefinition.cs.

float Sandbox.Definitions.MyEntityStatDefinition.MaxValue

Definition at line 28 of file MyEntityStatDefinition.cs.

float Sandbox.Definitions.MyEntityStatDefinition.MinValue

Definition at line 26 of file MyEntityStatDefinition.cs.

string Sandbox.Definitions.MyEntityStatDefinition.Name

Definition at line 34 of file MyEntityStatDefinition.cs.


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