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

Public Member Functions

bool HasItem (string itemId)
 
- 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)
 
virtual MyObjectBuilder_DefinitionBase GetObjectBuilder ()
 
override string ToString ()
 

Public Attributes

string Name
 
HashSet< string > ItemIds
 
bool IsShipCategory = false
 
bool IsBlockCategory = true
 
bool SearchBlocks = true
 
bool ShowAnimations = false
 
bool ShowInCreative = true
 
bool IsAnimationCategory = false
 
bool IsToolCategory = false
 
int ValidItems = 0
 
bool Public = true
 
- 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 ob)
 

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 MyCategoryClassDefinition.cs.

Member Function Documentation

bool Sandbox.Definitions.MyGuiBlockCategoryDefinition.HasItem ( string  itemId)
inline

Definition at line 54 of file MyCategoryClassDefinition.cs.

override void Sandbox.Definitions.MyGuiBlockCategoryDefinition.Init ( MyObjectBuilder_DefinitionBase  ob)
inlineprotectedvirtual

Reimplemented from VRage.Game.MyDefinitionBase.

Definition at line 37 of file MyCategoryClassDefinition.cs.

Member Data Documentation

bool Sandbox.Definitions.MyGuiBlockCategoryDefinition.IsAnimationCategory = false

Definition at line 22 of file MyCategoryClassDefinition.cs.

bool Sandbox.Definitions.MyGuiBlockCategoryDefinition.IsBlockCategory = true

Definition at line 18 of file MyCategoryClassDefinition.cs.

bool Sandbox.Definitions.MyGuiBlockCategoryDefinition.IsShipCategory = false

Definition at line 17 of file MyCategoryClassDefinition.cs.

bool Sandbox.Definitions.MyGuiBlockCategoryDefinition.IsToolCategory = false

Definition at line 23 of file MyCategoryClassDefinition.cs.

HashSet<string> Sandbox.Definitions.MyGuiBlockCategoryDefinition.ItemIds

Definition at line 16 of file MyCategoryClassDefinition.cs.

string Sandbox.Definitions.MyGuiBlockCategoryDefinition.Name

Definition at line 15 of file MyCategoryClassDefinition.cs.

bool Sandbox.Definitions.MyGuiBlockCategoryDefinition.Public = true

Definition at line 25 of file MyCategoryClassDefinition.cs.

bool Sandbox.Definitions.MyGuiBlockCategoryDefinition.SearchBlocks = true

Definition at line 19 of file MyCategoryClassDefinition.cs.

bool Sandbox.Definitions.MyGuiBlockCategoryDefinition.ShowAnimations = false

Definition at line 20 of file MyCategoryClassDefinition.cs.

bool Sandbox.Definitions.MyGuiBlockCategoryDefinition.ShowInCreative = true

Definition at line 21 of file MyCategoryClassDefinition.cs.

int Sandbox.Definitions.MyGuiBlockCategoryDefinition.ValidItems = 0

Definition at line 24 of file MyCategoryClassDefinition.cs.


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