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

Public Member Functions

MyEnvironmentSector CreateSector ()
 
- 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

int SyncLod
 
MyRuntimeEnvironmentItemInfo[] Items
 
double SectorSize
 
double ItemDensity
 
- 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

abstract Type SectorType [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 10 of file MyWorldEnvironmentDefinition.cs.

Member Function Documentation

MyEnvironmentSector Sandbox.Game.WorldEnvironment.Definitions.MyWorldEnvironmentDefinition.CreateSector ( )
inline

Definition at line 15 of file MyWorldEnvironmentDefinition.cs.

override void Sandbox.Game.WorldEnvironment.Definitions.MyWorldEnvironmentDefinition.Init ( MyObjectBuilder_DefinitionBase  builder)
inlineprotectedvirtual

Reimplemented from VRage.Game.MyDefinitionBase.

Definition at line 26 of file MyWorldEnvironmentDefinition.cs.

Member Data Documentation

double Sandbox.Game.WorldEnvironment.Definitions.MyWorldEnvironmentDefinition.ItemDensity

Definition at line 24 of file MyWorldEnvironmentDefinition.cs.

MyRuntimeEnvironmentItemInfo [] Sandbox.Game.WorldEnvironment.Definitions.MyWorldEnvironmentDefinition.Items

Definition at line 20 of file MyWorldEnvironmentDefinition.cs.

double Sandbox.Game.WorldEnvironment.Definitions.MyWorldEnvironmentDefinition.SectorSize

Definition at line 22 of file MyWorldEnvironmentDefinition.cs.

int Sandbox.Game.WorldEnvironment.Definitions.MyWorldEnvironmentDefinition.SyncLod

Definition at line 13 of file MyWorldEnvironmentDefinition.cs.

Property Documentation

abstract Type Sandbox.Game.WorldEnvironment.Definitions.MyWorldEnvironmentDefinition.SectorType
get

Definition at line 12 of file MyWorldEnvironmentDefinition.cs.


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