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

Classes

struct  SpawnGroupPrefab
 
struct  SpawnGroupVoxel
 

Public Member Functions

 MySpawnGroupDefinition ()
 
override MyObjectBuilder_DefinitionBase GetObjectBuilder ()
 
void ReloadPrefabs ()
 
- 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 Frequency
 
bool IsEncounter
 
bool IsPirate
 
bool ReactorsOn
 
List< SpawnGroupPrefabPrefabs = new List<SpawnGroupPrefab>()
 
List< SpawnGroupVoxelVoxels = new List<SpawnGroupVoxel>()
 
- 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 baseBuilder)
 

Properties

float SpawnRadius [get]
 
bool IsValid [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 16 of file MySpawnGroupDefinition.cs.

Constructor & Destructor Documentation

Sandbox.Definitions.MySpawnGroupDefinition.MySpawnGroupDefinition ( )
inline

Definition at line 69 of file MySpawnGroupDefinition.cs.

Member Function Documentation

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

Reimplemented from VRage.Game.MyDefinitionBase.

Definition at line 128 of file MySpawnGroupDefinition.cs.

override void Sandbox.Definitions.MySpawnGroupDefinition.Init ( MyObjectBuilder_DefinitionBase  baseBuilder)
inlineprotectedvirtual

Reimplemented from VRage.Game.MyDefinitionBase.

Definition at line 72 of file MySpawnGroupDefinition.cs.

void Sandbox.Definitions.MySpawnGroupDefinition.ReloadPrefabs ( )
inline

Definition at line 163 of file MySpawnGroupDefinition.cs.

Member Data Documentation

float Sandbox.Definitions.MySpawnGroupDefinition.Frequency

Definition at line 33 of file MySpawnGroupDefinition.cs.

bool Sandbox.Definitions.MySpawnGroupDefinition.IsEncounter

Definition at line 55 of file MySpawnGroupDefinition.cs.

bool Sandbox.Definitions.MySpawnGroupDefinition.IsPirate

Definition at line 56 of file MySpawnGroupDefinition.cs.

List<SpawnGroupPrefab> Sandbox.Definitions.MySpawnGroupDefinition.Prefabs = new List<SpawnGroupPrefab>()

Definition at line 58 of file MySpawnGroupDefinition.cs.

bool Sandbox.Definitions.MySpawnGroupDefinition.ReactorsOn

Definition at line 57 of file MySpawnGroupDefinition.cs.

List<SpawnGroupVoxel> Sandbox.Definitions.MySpawnGroupDefinition.Voxels = new List<SpawnGroupVoxel>()

Definition at line 59 of file MySpawnGroupDefinition.cs.

Property Documentation

bool Sandbox.Definitions.MySpawnGroupDefinition.IsValid
get

Definition at line 62 of file MySpawnGroupDefinition.cs.

float Sandbox.Definitions.MySpawnGroupDefinition.SpawnRadius
get

Definition at line 37 of file MySpawnGroupDefinition.cs.


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