Space Engineers
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Sandbox.Definitions.MyProjectileAmmoDefinition Class Reference
Inheritance diagram for Sandbox.Definitions.MyProjectileAmmoDefinition:
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

float ProjectileHitImpulse
 
float ProjectileTrailScale
 
Vector3 ProjectileTrailColor
 
string ProjectileTrailMaterial
 
float ProjectileTrailProbability
 
string ProjectileOnHitEffectName
 
float ProjectileMassDamage
 
float ProjectileHealthDamage
 
bool HeadShot
 
float ProjectileHeadShotDamage
 
int ProjectileCount
 
- 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 87 of file MyAmmoDefinition.cs.

Member Function Documentation

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

Implements Sandbox.Definitions.MyAmmoDefinition.

Definition at line 126 of file MyAmmoDefinition.cs.

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

Reimplemented from Sandbox.Definitions.MyAmmoDefinition.

Definition at line 101 of file MyAmmoDefinition.cs.

Member Data Documentation

bool Sandbox.Definitions.MyProjectileAmmoDefinition.HeadShot

Definition at line 97 of file MyAmmoDefinition.cs.

int Sandbox.Definitions.MyProjectileAmmoDefinition.ProjectileCount

Definition at line 99 of file MyAmmoDefinition.cs.

float Sandbox.Definitions.MyProjectileAmmoDefinition.ProjectileHeadShotDamage

Definition at line 98 of file MyAmmoDefinition.cs.

float Sandbox.Definitions.MyProjectileAmmoDefinition.ProjectileHealthDamage

Definition at line 96 of file MyAmmoDefinition.cs.

float Sandbox.Definitions.MyProjectileAmmoDefinition.ProjectileHitImpulse

Definition at line 89 of file MyAmmoDefinition.cs.

float Sandbox.Definitions.MyProjectileAmmoDefinition.ProjectileMassDamage

Definition at line 95 of file MyAmmoDefinition.cs.

string Sandbox.Definitions.MyProjectileAmmoDefinition.ProjectileOnHitEffectName

Definition at line 94 of file MyAmmoDefinition.cs.

Vector3 Sandbox.Definitions.MyProjectileAmmoDefinition.ProjectileTrailColor

Definition at line 91 of file MyAmmoDefinition.cs.

string Sandbox.Definitions.MyProjectileAmmoDefinition.ProjectileTrailMaterial

Definition at line 92 of file MyAmmoDefinition.cs.

float Sandbox.Definitions.MyProjectileAmmoDefinition.ProjectileTrailProbability

Definition at line 93 of file MyAmmoDefinition.cs.

float Sandbox.Definitions.MyProjectileAmmoDefinition.ProjectileTrailScale

Definition at line 90 of file MyAmmoDefinition.cs.


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