Data Structures | |
class | TotalDamageResult |
Typedefs | |
typedef map< string, ref array< string > > | DamageZoneMap |
Enumerations | |
enum | DamageType |
exposed from C++ (do not change) More... | |
Functions | |
enum DamageType | CloseCombatDamage (EntityAI source, Object targetObject, int targetComponentIndex, string ammoTypeName, vector worldPos, int directDamageFlags=ProcessDirectDamageFlags.ALL_TRANSFER) |
static proto native void | CloseCombatDamageName (EntityAI source, Object targetObject, string targetComponentName, string ammoTypeName, vector worldPos, int directDamageFlags=ProcessDirectDamageFlags.ALL_TRANSFER) |
static proto native void | ExplosionDamage (EntityAI source, Object directHitObject, string ammoTypeName, vector worldPos, int damageType) |
static bool | GetDamageZoneMap (EntityAI entity, out DamageZoneMap zoneMap) |
static bool | GetDamageZoneFromComponentName (notnull EntityAI entity, string component, out string damageZone) |
Returns damage zone to which the named component belongs. | |
static bool | GetComponentNamesFromDamageZone (notnull EntityAI entity, string damageZone, out array< string > componentNames) |
static string | GetDamageDisplayName (EntityAI entity, string zone) |
static void | ResetAllZones (EntityAI entity) |
Variables | |
CLOSE_COMBAT | |
FIRE_ARM | |
EXPLOSION | |
STUN | |
CUSTOM | |
typedef map<string,ref array<string> > DamageZoneMap |
enum DamageType |
exposed from C++ (do not change)
enum DamageType CloseCombatDamage | ( | EntityAI | source, |
Object | targetObject, | ||
int | targetComponentIndex, | ||
string | ammoTypeName, | ||
vector | worldPos, | ||
int | directDamageFlags = ProcessDirectDamageFlags.ALL_TRANSFER |
||
) |
|
static |
|
static |
|
static |
References CFG_MAGAZINESPATH, CFG_VEHICLESPATH, CFG_WEAPONSPATH, CGame::ConfigGetTextArray(), string::Format(), GetGame(), and path.
References string::Hash().
|
static |
Returns damage zone to which the named component belongs.
References component, and string::ToLower().
|
static |
References CFG_MAGAZINESPATH, CFG_VEHICLESPATH, CFG_WEAPONSPATH, CGame::ConfigGetTextArray(), string::Format(), GetGame(), and path.
|
static |
CLOSE_COMBAT |
CUSTOM |
EXPLOSION |
FIRE_ARM |
STUN |