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

Public Member Functions

override float GetDamageForMechanicalObjects ()
 
- 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

const float MINIMAL_EXPLOSION_RADIUS = 0.6f
 
float MissileMass
 
float MissileExplosionRadius
 
string MissileModelName
 
float MissileAcceleration
 
float MissileInitialSpeed
 
bool MissileSkipAcceleration
 
float MissileExplosionDamage
 
- Public Attributes inherited from Sandbox.Definitions.MyAmmoDefinition
MyAmmoType AmmoType
 
float DesiredSpeed
 
float SpeedVar
 
float MaxTrajectory
 
bool IsExplosive
 
float BackkickForce
 
MyStringHash PhysicalMaterial
 
- 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)
 

Additional Inherited Members

- 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 47 of file MyAmmoDefinition.cs.

Member Function Documentation

override float Sandbox.Definitions.MyMissileAmmoDefinition.GetDamageForMechanicalObjects ( )
inlinevirtual

Implements Sandbox.Definitions.MyAmmoDefinition.

Definition at line 80 of file MyAmmoDefinition.cs.

override void Sandbox.Definitions.MyMissileAmmoDefinition.Init ( MyObjectBuilder_DefinitionBase  builder)
inlineprotectedvirtual

Reimplemented from Sandbox.Definitions.MyAmmoDefinition.

Definition at line 59 of file MyAmmoDefinition.cs.

Member Data Documentation

const float Sandbox.Definitions.MyMissileAmmoDefinition.MINIMAL_EXPLOSION_RADIUS = 0.6f

Definition at line 49 of file MyAmmoDefinition.cs.

float Sandbox.Definitions.MyMissileAmmoDefinition.MissileAcceleration

Definition at line 54 of file MyAmmoDefinition.cs.

float Sandbox.Definitions.MyMissileAmmoDefinition.MissileExplosionDamage

Definition at line 57 of file MyAmmoDefinition.cs.

float Sandbox.Definitions.MyMissileAmmoDefinition.MissileExplosionRadius

Definition at line 52 of file MyAmmoDefinition.cs.

float Sandbox.Definitions.MyMissileAmmoDefinition.MissileInitialSpeed

Definition at line 55 of file MyAmmoDefinition.cs.

float Sandbox.Definitions.MyMissileAmmoDefinition.MissileMass

Definition at line 51 of file MyAmmoDefinition.cs.

string Sandbox.Definitions.MyMissileAmmoDefinition.MissileModelName

Definition at line 53 of file MyAmmoDefinition.cs.

bool Sandbox.Definitions.MyMissileAmmoDefinition.MissileSkipAcceleration

Definition at line 56 of file MyAmmoDefinition.cs.


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