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

Classes

struct  GrowthStep
 

Public Member Functions

MyStringHash GetRandomItem ()
 
bool BelongsToGroups (MyStringHash subtypeId)
 
bool IsFirst (MyStringHash subtypeId)
 
bool IsFirst (string groupName, MyStringHash subtypeId)
 
int GetGroupIndex (string groupName, MyStringHash subtypeId)
 
bool IsGatherableSubtype (string group, MyStringHash subtypeId)
 
string GetRandomGroup (MyStringHash subtypeId)
 
MyStringHash GetFinalSubtype (string group)
 
MyStringHash GetSubtypeForGrowthStep (string group, int growthStep)
 
int GetGrowthStepForSubtype (string group, MyStringHash subtype)
 
- 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

Dictionary< string, MyGroupedIdsAppliedGroups
 
List< GrowthStepGrowthSteps
 
MyDefinitionId GatheredItemDefinition
 
float GatheredAmount
 
bool IsGatherable
 
bool Regrowable
 
float GrowTime
 
int PostGatherStep
 
int GatherableStep
 
float SpawnProbability
 
MyAreaTransformType AreaTransformType
 
float DecayTime
 
- 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)
 

Properties

byte TransformTypeByte [get]
 
bool HasGrowthSteps [get]
 
int StartingId [get]
 
bool ShouldDecay [get]
 
- 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 17 of file MyFloraElementDefinition.cs.

Member Function Documentation

bool Sandbox.Definitions.MyFloraElementDefinition.BelongsToGroups ( MyStringHash  subtypeId)
inline

Definition at line 105 of file MyFloraElementDefinition.cs.

MyStringHash Sandbox.Definitions.MyFloraElementDefinition.GetFinalSubtype ( string  group)
inline

Definition at line 180 of file MyFloraElementDefinition.cs.

int Sandbox.Definitions.MyFloraElementDefinition.GetGroupIndex ( string  groupName,
MyStringHash  subtypeId 
)
inline

Definition at line 136 of file MyFloraElementDefinition.cs.

int Sandbox.Definitions.MyFloraElementDefinition.GetGrowthStepForSubtype ( string  group,
MyStringHash  subtype 
)
inline

Definition at line 192 of file MyFloraElementDefinition.cs.

string Sandbox.Definitions.MyFloraElementDefinition.GetRandomGroup ( MyStringHash  subtypeId)
inline

Definition at line 160 of file MyFloraElementDefinition.cs.

MyStringHash Sandbox.Definitions.MyFloraElementDefinition.GetRandomItem ( )
inline

Definition at line 99 of file MyFloraElementDefinition.cs.

MyStringHash Sandbox.Definitions.MyFloraElementDefinition.GetSubtypeForGrowthStep ( string  group,
int  growthStep 
)
inline

Definition at line 185 of file MyFloraElementDefinition.cs.

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

Reimplemented from VRage.Game.MyDefinitionBase.

Definition at line 52 of file MyFloraElementDefinition.cs.

bool Sandbox.Definitions.MyFloraElementDefinition.IsFirst ( MyStringHash  subtypeId)
inline

Definition at line 119 of file MyFloraElementDefinition.cs.

bool Sandbox.Definitions.MyFloraElementDefinition.IsFirst ( string  groupName,
MyStringHash  subtypeId 
)
inline

Definition at line 131 of file MyFloraElementDefinition.cs.

bool Sandbox.Definitions.MyFloraElementDefinition.IsGatherableSubtype ( string  group,
MyStringHash  subtypeId 
)
inline

Definition at line 145 of file MyFloraElementDefinition.cs.

Member Data Documentation

Dictionary<string, MyGroupedIds> Sandbox.Definitions.MyFloraElementDefinition.AppliedGroups

Definition at line 31 of file MyFloraElementDefinition.cs.

MyAreaTransformType Sandbox.Definitions.MyFloraElementDefinition.AreaTransformType

Definition at line 41 of file MyFloraElementDefinition.cs.

float Sandbox.Definitions.MyFloraElementDefinition.DecayTime

Definition at line 42 of file MyFloraElementDefinition.cs.

int Sandbox.Definitions.MyFloraElementDefinition.GatherableStep

Definition at line 39 of file MyFloraElementDefinition.cs.

float Sandbox.Definitions.MyFloraElementDefinition.GatheredAmount

Definition at line 34 of file MyFloraElementDefinition.cs.

MyDefinitionId Sandbox.Definitions.MyFloraElementDefinition.GatheredItemDefinition

Definition at line 33 of file MyFloraElementDefinition.cs.

List<GrowthStep> Sandbox.Definitions.MyFloraElementDefinition.GrowthSteps

Definition at line 32 of file MyFloraElementDefinition.cs.

float Sandbox.Definitions.MyFloraElementDefinition.GrowTime

Definition at line 37 of file MyFloraElementDefinition.cs.

bool Sandbox.Definitions.MyFloraElementDefinition.IsGatherable

Definition at line 35 of file MyFloraElementDefinition.cs.

int Sandbox.Definitions.MyFloraElementDefinition.PostGatherStep

Definition at line 38 of file MyFloraElementDefinition.cs.

bool Sandbox.Definitions.MyFloraElementDefinition.Regrowable

Definition at line 36 of file MyFloraElementDefinition.cs.

float Sandbox.Definitions.MyFloraElementDefinition.SpawnProbability

Definition at line 40 of file MyFloraElementDefinition.cs.

Property Documentation

bool Sandbox.Definitions.MyFloraElementDefinition.HasGrowthSteps
get

Definition at line 46 of file MyFloraElementDefinition.cs.

bool Sandbox.Definitions.MyFloraElementDefinition.ShouldDecay
get

Definition at line 48 of file MyFloraElementDefinition.cs.

int Sandbox.Definitions.MyFloraElementDefinition.StartingId
get

Definition at line 47 of file MyFloraElementDefinition.cs.

byte Sandbox.Definitions.MyFloraElementDefinition.TransformTypeByte
get

Definition at line 45 of file MyFloraElementDefinition.cs.


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