Space Engineers
Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic Class Reference
Inheritance diagram for Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic:
Sandbox.Game.Components.MyEntityGameLogic VRage.Game.Components.MyGameLogicComponent VRage.Game.Components.MyEntityComponentBase VRage.Game.Components.MyComponentBase

Public Member Functions

 MyMeteorGameLogic ()
 
override void Init (MyObjectBuilder_EntityBase objectBuilder)
 
override MyObjectBuilder_EntityBase GetObjectBuilder (bool copy=false)
 
override void OnAddedToContainer ()
 Gets called after the container of this component changes More...
 
override void MarkForClose ()
 
override void UpdateBeforeSimulation ()
 
override void UpdateAfterSimulation ()
 
override void UpdateBeforeSimulation100 ()
 
override void Close ()
 
void DoDamage (float damage, MyStringHash damageType, bool sync, MyHitInfo?hitInfo, long attackerId)
 
void OnDestroy ()
 
- Public Member Functions inherited from Sandbox.Game.Components.MyEntityGameLogic
override void OnAddedToContainer ()
 Gets called after the container of this component changes More...
 
 MyEntityGameLogic ()
 
override void Init (MyObjectBuilder_EntityBase objectBuilder)
 
void Init (StringBuilder displayName, string model, MyEntity parentObject, float?scale, string modelCollision=null)
 
override MyObjectBuilder_EntityBase GetObjectBuilder (bool copy=false)
 
override void UpdateOnceBeforeFrame ()
 
override void UpdateBeforeSimulation ()
 
override void UpdateAfterSimulation ()
 
override void UpdatingStopped ()
 
override void UpdateBeforeSimulation10 ()
 Called each 10th frame if registered for update10 More...
 
override void UpdateAfterSimulation10 ()
 
override void UpdateBeforeSimulation100 ()
 Called each 100th frame if registered for update100 More...
 
override void UpdateAfterSimulation100 ()
 
override void MarkForClose ()
 This method marks this entity for close which means, that Close will be called after all entities are updated More...
 
override void Close ()
 
- Public Member Functions inherited from VRage.Game.Components.MyEntityComponentBase
override void OnAddedToContainer ()
 Gets called after the container of this component changes More...
 
override void OnBeforeRemovedFromContainer ()
 Gets called before the removal of this component from a container More...
 
- Public Member Functions inherited from VRage.Game.Components.MyComponentBase
virtual void SetContainer (MyComponentContainer container)
 Sets the container of this component. Note that the component is not added to the container here! Therefore, use MyComponentContainer.Add(...) method and it will in turn call this method. Actually, you should seldom have the need to call this method yourself. More...
 
virtual T GetAs< T > ()
 
virtual void OnAddedToScene ()
 CH: TOOD: Be careful! This does not get called if the component is added to a container that is in the scene already! More...
 
virtual void OnRemovedFromScene ()
 CH: TOOD: Be careful! This does not get called if the component is removed from a container that is still in the scene! More...
 
virtual MyObjectBuilder_ComponentBase Serialize (bool copy=false)
 
virtual void Deserialize (MyObjectBuilder_ComponentBase builder)
 
virtual void Init (MyComponentDefinitionBase definition)
 
virtual bool IsSerialized ()
 Tells the component container serializer whether this component should be saved More...
 

Public Attributes

MyPhysicalInventoryItem Item
 

Protected Member Functions

virtual HkShape GetPhysicsShape (HkMassProperties massProperties, float mass, float scale)
 
- Protected Member Functions inherited from Sandbox.Game.Components.MyEntityGameLogic
void CallAndClearOnClose ()
 
void CallAndClearOnClosing ()
 

Properties

MyVoxelMaterialDefinition VoxelMaterial [get, set]
 
float Integrity [get]
 
- Properties inherited from Sandbox.Game.Components.MyEntityGameLogic
MyGameLogicComponent GameLogic [get, set]
 
- Properties inherited from VRage.Game.Components.MyGameLogicComponent
MyEntityUpdateEnum NeedsUpdate [get, set]
 
bool Closed [get, protected set]
 
bool MarkedForClose [get, protected set]
 
override string ComponentTypeDebugString [get]
 
- Properties inherited from VRage.Game.Components.MyEntityComponentBase
MyEntityComponentContainer Container [get]
 
IMyEntity Entity [get]
 
abstract string ComponentTypeDebugString [get]
 Name of the base component type for debug purposes (e.g.: "Position") More...
 
- Properties inherited from VRage.Game.Components.MyComponentBase
MyComponentContainer ContainerBase [get]
 This cannot be named Container to not conflict with the definition of Container in MyEntityComponentBase. More...
 

Additional Inherited Members

- Protected Attributes inherited from Sandbox.Game.Components.MyEntityGameLogic
MyEntity m_entity
 
- Events inherited from Sandbox.Game.Components.MyEntityGameLogic
Action< MyEntityOnMarkForClose
 This event may not be invoked at all, when calling MyEntities.CloseAll, marking is bypassed More...
 
Action< MyEntityOnClose
 
Action< MyEntityOnClosing
 
- Events inherited from VRage.Game.Components.MyEntityComponentBase
static Action< MyEntityComponentBaseOnAfterAddedToContainer
 
Action< MyEntityComponentBaseBeforeRemovedFromContainer
 

Detailed Description

Definition at line 165 of file MyMeteor.cs.

Constructor & Destructor Documentation

Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.MyMeteorGameLogic ( )
inline

Definition at line 193 of file MyMeteor.cs.

Member Function Documentation

override void Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.Close ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 402 of file MyMeteor.cs.

void Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.DoDamage ( float  damage,
MyStringHash  damageType,
bool  sync,
MyHitInfo hitInfo,
long  attackerId 
)
inline

Definition at line 562 of file MyMeteor.cs.

override MyObjectBuilder_EntityBase Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.GetObjectBuilder ( bool  copy = false)
inlinevirtual

Implements VRage.Game.Components.MyGameLogicComponent.

Definition at line 272 of file MyMeteor.cs.

virtual HkShape Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.GetPhysicsShape ( HkMassProperties  massProperties,
float  mass,
float  scale 
)
inlineprotectedvirtual

Definition at line 604 of file MyMeteor.cs.

override void Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.Init ( MyObjectBuilder_EntityBase  objectBuilder)
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 198 of file MyMeteor.cs.

override void Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.MarkForClose ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 299 of file MyMeteor.cs.

override void Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.OnAddedToContainer ( )
inlinevirtual

Gets called after the container of this component changes

Reimplemented from VRage.Game.Components.MyComponentBase.

Definition at line 293 of file MyMeteor.cs.

void Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.OnDestroy ( )
inline

Definition at line 594 of file MyMeteor.cs.

override void Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.UpdateAfterSimulation ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 314 of file MyMeteor.cs.

override void Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.UpdateBeforeSimulation ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 305 of file MyMeteor.cs.

override void Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.UpdateBeforeSimulation100 ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 339 of file MyMeteor.cs.

Member Data Documentation

MyPhysicalInventoryItem Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.Item

Definition at line 169 of file MyMeteor.cs.

Property Documentation

float Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.Integrity
get

Definition at line 599 of file MyMeteor.cs.

MyVoxelMaterialDefinition Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic.VoxelMaterial
getset

Definition at line 170 of file MyMeteor.cs.


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