Space Engineers
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Sandbox.Game.Weapons.MyProjectiles Class Reference
Inheritance diagram for Sandbox.Game.Weapons.MyProjectiles:
VRage.Game.Components.MySessionComponentBase VRage.Game.Components.Interfaces.IMyUserInputComponent

Public Member Functions

override void LoadData ()
 
override void UpdateBeforeSimulation ()
 
override void Draw ()
 
- Public Member Functions inherited from VRage.Game.Components.MySessionComponentBase
virtual bool UpdatedBeforeInit ()
 
 MySessionComponentBase ()
 
void SetUpdateOrder (MyUpdateOrder order)
 
virtual void InitFromDefinition (MySessionComponentDefinition definition)
 
virtual void Init (MyObjectBuilder_SessionComponent sessionComponent)
 
virtual MyObjectBuilder_SessionComponent GetObjectBuilder ()
 
void AfterLoadData ()
 
void UnloadDataConditional ()
 
virtual void SaveData ()
 
virtual void BeforeStart ()
 
virtual void Simulate ()
 
virtual void UpdateAfterSimulation ()
 
virtual void UpdatingStopped ()
 
virtual void HandleInput ()
 
override string ToString ()
 

Static Public Member Functions

static void Add (MyProjectileAmmoDefinition ammoDefinition, Vector3D origin, Vector3 initialVelocity, Vector3 directionNormalized, IMyGunBaseUser user, MyEntity owner)
 
static void AddShrapnel (MyProjectileAmmoDefinition ammoDefinition, MyEntity[] ignoreEntities, Vector3 origin, Vector3 initialVelocity, Vector3 directionNormalized, bool groupStart, float thicknessMultiplier, float trailProbability, MyEntity weapon, MyEntity ownerEntity=null, float projectileCountMultiplier=1)
 
static void AddShotgun (MyProjectileAmmoDefinition ammoDefinition, MyEntity ignorePhysObject, Vector3 origin, Vector3 initialVelocity, Vector3 directionNormalized, bool groupStart, float thicknessMultiplier, MyEntity weapon, float frontBillboardSize, MyEntity ownerEntity=null, float projectileCountMultiplier=1)
 

Protected Member Functions

override void UnloadData ()
 

Additional Inherited Members

- Public Attributes inherited from VRage.Game.Components.MySessionComponentBase
readonly string DebugName
 
readonly int Priority
 
readonly Type ComponentType
 
IMySession Session
 
- Properties inherited from VRage.Game.Components.MySessionComponentBase
MyUpdateOrder UpdateOrder [get]
 
MyObjectBuilderType ObjectBuilderType [get]
 
bool Loaded [get]
 
bool Initialized [get]
 
MyDefinitionId Definition [get, set]
 
virtual Type[] Dependencies [get]
 
virtual bool IsRequiredByGame [get]
 Indicates whether a session component should be used in current configuration. Example: MyDestructionData component returns true only when game uses Havok Destruction More...
 

Detailed Description

Definition at line 17 of file MyProjectiles.cs.

Member Function Documentation

static void Sandbox.Game.Weapons.MyProjectiles.Add ( MyProjectileAmmoDefinition  ammoDefinition,
Vector3D  origin,
Vector3  initialVelocity,
Vector3  directionNormalized,
IMyGunBaseUser  user,
MyEntity  owner 
)
inlinestatic

Definition at line 45 of file MyProjectiles.cs.

static void Sandbox.Game.Weapons.MyProjectiles.AddShotgun ( MyProjectileAmmoDefinition  ammoDefinition,
MyEntity  ignorePhysObject,
Vector3  origin,
Vector3  initialVelocity,
Vector3  directionNormalized,
bool  groupStart,
float  thicknessMultiplier,
MyEntity  weapon,
float  frontBillboardSize,
MyEntity  ownerEntity = null,
float  projectileCountMultiplier = 1 
)
inlinestatic

Definition at line 80 of file MyProjectiles.cs.

static void Sandbox.Game.Weapons.MyProjectiles.AddShrapnel ( MyProjectileAmmoDefinition  ammoDefinition,
MyEntity[]  ignoreEntities,
Vector3  origin,
Vector3  initialVelocity,
Vector3  directionNormalized,
bool  groupStart,
float  thicknessMultiplier,
float  trailProbability,
MyEntity  weapon,
MyEntity  ownerEntity = null,
float  projectileCountMultiplier = 1 
)
inlinestatic

Definition at line 63 of file MyProjectiles.cs.

override void Sandbox.Game.Weapons.MyProjectiles.Draw ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 122 of file MyProjectiles.cs.

override void Sandbox.Game.Weapons.MyProjectiles.LoadData ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 25 of file MyProjectiles.cs.

override void Sandbox.Game.Weapons.MyProjectiles.UnloadData ( )
inlineprotectedvirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 35 of file MyProjectiles.cs.

override void Sandbox.Game.Weapons.MyProjectiles.UpdateBeforeSimulation ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 107 of file MyProjectiles.cs.


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