Space Engineers
Classes | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
VRage.Game.MyObjectBuilder_Character Class Reference
Inheritance diagram for VRage.Game.MyObjectBuilder_Character:
VRage.ObjectBuilders.MyObjectBuilder_EntityBase VRage.ObjectBuilders.MyObjectBuilder_Base

Classes

struct  StoredGas
 

Public Member Functions

bool ShouldSerializeHealth ()
 
bool ShouldSerializeMovementState ()
 
- Public Member Functions inherited from VRage.ObjectBuilders.MyObjectBuilder_EntityBase
bool ShouldSerializePositionAndOrientation ()
 
bool ShouldSerializeComponentContainer ()
 
bool ShouldSerializeEntityDefinitionId ()
 
virtual void Remap (IMyRemapHelper remapHelper)
 Remaps this entity's entityId to a new value. If there are cross-referenced between different entities in this object builder, the remapHelper should be used to rememeber these references and retrieve them. More...
 
- Public Member Functions inherited from VRage.ObjectBuilders.MyObjectBuilder_Base
bool ShouldSerializeSubtypeId ()
 
void Save (string filepath)
 
virtual MyObjectBuilder_Base Clone ()
 

Public Attributes

string CharacterModel
 
MyObjectBuilder_Inventory Inventory
 
MyObjectBuilder_EntityBase HandWeapon
 
MyObjectBuilder_Battery Battery
 
bool LightEnabled
 
bool DampenersEnabled = true
 
float CharacterGeneralDamageModifier = 1f
 
long UsingLadder
 
SerializableVector2 HeadAngle
 
SerializableVector3 LinearVelocity
 
float AutoenableJetpackDelay
 
bool JetpackEnabled
 
float Health
 
bool AIMode = false
 
SerializableVector3 ColorMaskHSV
 
float LootingCounter
 
string DisplayName
 
bool IsInFirstPersonView = true
 
bool EnableBroadcasting = true
 
float OxygenLevel = 1f
 
float EnvironmentOxygenLevel = 1f
 
List< StoredGasStoredGases
 
MyCharacterMovementEnum MovementState = MyCharacterMovementEnum.Standing
 
List< string > EnabledComponents = null
 
ulong PlayerSteamId = 0
 
int PlayerSerialId = 0
 
bool NeedsOxygenFromSuit
 
- Public Attributes inherited from VRage.ObjectBuilders.MyObjectBuilder_EntityBase
long EntityId
 
MyPersistentEntityFlags2 PersistentFlags
 
string Name
 
MyPositionAndOrientation PositionAndOrientation
 
MyObjectBuilder_ComponentContainer ComponentContainer = null
 
SerializableDefinitionId EntityDefinitionId = null
 

Static Public Attributes

static Dictionary< string, SerializableVector3CharacterModels
 

Additional Inherited Members

- Properties inherited from VRage.ObjectBuilders.MyObjectBuilder_Base
MyStringHash SubtypeId [get]
 
string SubtypeName [get, set]
 
MyObjectBuilderType TypeId [get]
 

Detailed Description

Definition at line 127 of file MyObjectBuilder_Character.cs.

Member Function Documentation

bool VRage.Game.MyObjectBuilder_Character.ShouldSerializeHealth ( )
inline

Definition at line 193 of file MyObjectBuilder_Character.cs.

bool VRage.Game.MyObjectBuilder_Character.ShouldSerializeMovementState ( )
inline

Definition at line 225 of file MyObjectBuilder_Character.cs.

Member Data Documentation

bool VRage.Game.MyObjectBuilder_Character.AIMode = false

Definition at line 196 of file MyObjectBuilder_Character.cs.

float VRage.Game.MyObjectBuilder_Character.AutoenableJetpackDelay

Definition at line 185 of file MyObjectBuilder_Character.cs.

MyObjectBuilder_Battery VRage.Game.MyObjectBuilder_Character.Battery

Definition at line 164 of file MyObjectBuilder_Character.cs.

float VRage.Game.MyObjectBuilder_Character.CharacterGeneralDamageModifier = 1f

Definition at line 173 of file MyObjectBuilder_Character.cs.

string VRage.Game.MyObjectBuilder_Character.CharacterModel

Definition at line 152 of file MyObjectBuilder_Character.cs.

Dictionary<string, SerializableVector3> VRage.Game.MyObjectBuilder_Character.CharacterModels
static
Initial value:
= new Dictionary<string, SerializableVector3>()
{
{"Soldier", new SerializableVector3(0f, 0f, 0.05f)},
{"Astronaut", new SerializableVector3(0f, -1f, 0f)},
{"Astronaut_Black", new SerializableVector3(0f, -0.96f, -0.5f)},
{"Astronaut_Blue", new SerializableVector3(0.575f, 0.15f, 0.2f)},
{"Astronaut_Green", new SerializableVector3(0.333f, -0.33f, -0.05f)},
{"Astronaut_Red", new SerializableVector3(0f, 0f, 0.05f)},
{"Astronaut_White", new SerializableVector3(0f, -0.8f, 0.6f)},
{"Astronaut_Yellow", new SerializableVector3(0.122f, 0.05f, 0.46f)},
{"Engineer_suit_no_helmet", new SerializableVector3(-100.0f, -100.0f, -100.0f)}
}

Definition at line 138 of file MyObjectBuilder_Character.cs.

SerializableVector3 VRage.Game.MyObjectBuilder_Character.ColorMaskHSV

Definition at line 199 of file MyObjectBuilder_Character.cs.

bool VRage.Game.MyObjectBuilder_Character.DampenersEnabled = true

Definition at line 170 of file MyObjectBuilder_Character.cs.

string VRage.Game.MyObjectBuilder_Character.DisplayName

Definition at line 205 of file MyObjectBuilder_Character.cs.

bool VRage.Game.MyObjectBuilder_Character.EnableBroadcasting = true

Definition at line 211 of file MyObjectBuilder_Character.cs.

List<string> VRage.Game.MyObjectBuilder_Character.EnabledComponents = null

Definition at line 229 of file MyObjectBuilder_Character.cs.

float VRage.Game.MyObjectBuilder_Character.EnvironmentOxygenLevel = 1f

Definition at line 217 of file MyObjectBuilder_Character.cs.

MyObjectBuilder_EntityBase VRage.Game.MyObjectBuilder_Character.HandWeapon

Definition at line 161 of file MyObjectBuilder_Character.cs.

SerializableVector2 VRage.Game.MyObjectBuilder_Character.HeadAngle

Definition at line 179 of file MyObjectBuilder_Character.cs.

float VRage.Game.MyObjectBuilder_Character.Health

Definition at line 192 of file MyObjectBuilder_Character.cs.

MyObjectBuilder_Inventory VRage.Game.MyObjectBuilder_Character.Inventory

Definition at line 156 of file MyObjectBuilder_Character.cs.

bool VRage.Game.MyObjectBuilder_Character.IsInFirstPersonView = true

Definition at line 208 of file MyObjectBuilder_Character.cs.

bool VRage.Game.MyObjectBuilder_Character.JetpackEnabled

Definition at line 188 of file MyObjectBuilder_Character.cs.

bool VRage.Game.MyObjectBuilder_Character.LightEnabled

Definition at line 167 of file MyObjectBuilder_Character.cs.

SerializableVector3 VRage.Game.MyObjectBuilder_Character.LinearVelocity

Definition at line 182 of file MyObjectBuilder_Character.cs.

float VRage.Game.MyObjectBuilder_Character.LootingCounter

Definition at line 202 of file MyObjectBuilder_Character.cs.

MyCharacterMovementEnum VRage.Game.MyObjectBuilder_Character.MovementState = MyCharacterMovementEnum.Standing

Definition at line 224 of file MyObjectBuilder_Character.cs.

bool VRage.Game.MyObjectBuilder_Character.NeedsOxygenFromSuit

Definition at line 237 of file MyObjectBuilder_Character.cs.

float VRage.Game.MyObjectBuilder_Character.OxygenLevel = 1f

Definition at line 214 of file MyObjectBuilder_Character.cs.

int VRage.Game.MyObjectBuilder_Character.PlayerSerialId = 0

Definition at line 234 of file MyObjectBuilder_Character.cs.

ulong VRage.Game.MyObjectBuilder_Character.PlayerSteamId = 0

Definition at line 232 of file MyObjectBuilder_Character.cs.

List<StoredGas> VRage.Game.MyObjectBuilder_Character.StoredGases

Definition at line 221 of file MyObjectBuilder_Character.cs.

long VRage.Game.MyObjectBuilder_Character.UsingLadder

Definition at line 176 of file MyObjectBuilder_Character.cs.


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