Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
weaponparticles.c File Reference

Go to the source code of this file.

Data Structures

class  WeaponParticlesBase
 
class  OverheatingParticle
 

Functions

class WeaponParticlesBase OnParticleCreated (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search, Particle p)
 
void WeaponParticlesBase (ItemBase muzzle_owner, string config_OnFire_entry)
 
void OnActivate (ItemBase weapon, int muzzle_index, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search)
 
void OnDeactivate (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search)
 
void OnUpdate (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search)
 
bool CheckBoltStateCondition (ItemBase weapon)
 
bool CheckHealthCondition (int health_label)
 
bool CheckOverheatingCondition (float overheating_coef)
 
bool CheckRainCondition (float rain_coef)
 
int CheckParticleOverride (string ammoType)
 
vector CheckOrientationOverride (vector local_pos, ItemBase muzzle_owner)
 

Variables

bool m_IlluminateWorld
 
bool m_IgnoreIfSuppressed
 
bool m_OnlyIfBoltIsOpen
 
int m_MuzzleIndex
 
int m_OverrideParticle
 
int m_OnlyWithinHealthLabelMin
 
int m_OnlyWithinHealthLabelMax
 
float m_OnlyWithinOverheatLimitsMin
 
float m_OnlyWithinOverheatLimitsMax
 
float m_OnlyWithinRainLimitsMin
 
float m_OnlyWithinRainLimitsMax
 
string m_OverrideDirectionPoint
 
string m_OnlyIfBulletIs
 
string m_OnlyIfWeaponIs
 
string m_OverridePoint
 
vector m_OverrideDirectionVector
 
vector m_PositionOffset
 
string m_Name
 

Function Documentation

◆ CheckBoltStateCondition()

bool OnParticleCreated::CheckBoltStateCondition ( ItemBase  weapon)

Definition at line 248 of file weaponparticles.c.

◆ CheckHealthCondition()

bool OnParticleCreated::CheckHealthCondition ( int  health_label)

Definition at line 261 of file weaponparticles.c.

◆ CheckOrientationOverride()

vector OnParticleCreated::CheckOrientationOverride ( vector  local_pos,
ItemBase  muzzle_owner 
)

Definition at line 320 of file weaponparticles.c.

◆ CheckOverheatingCondition()

bool OnParticleCreated::CheckOverheatingCondition ( float  overheating_coef)

Definition at line 267 of file weaponparticles.c.

◆ CheckParticleOverride()

int OnParticleCreated::CheckParticleOverride ( string  ammoType)

Definition at line 279 of file weaponparticles.c.

◆ CheckRainCondition()

bool OnParticleCreated::CheckRainCondition ( float  rain_coef)

Definition at line 273 of file weaponparticles.c.

◆ OnActivate()

void OnParticleCreated::OnActivate ( ItemBase  weapon,
int  muzzle_index,
string  ammoType,
ItemBase  muzzle_owner,
ItemBase  suppressor,
string  config_to_search 
)

Definition at line 158 of file weaponparticles.c.

◆ OnDeactivate()

override void OnDeactivate ( ItemBase  weapon,
string  ammoType,
ItemBase  muzzle_owner,
ItemBase  suppressor,
string  config_to_search 
)

Definition at line 231 of file weaponparticles.c.

◆ OnParticleCreated()

class WeaponParticlesBase OnParticleCreated ( ItemBase  weapon,
string  ammoType,
ItemBase  muzzle_owner,
ItemBase  suppressor,
string  config_to_search,
Particle  p 
)

Definition at line 362 of file weaponparticles.c.

◆ OnUpdate()

override void OnUpdate ( ItemBase  weapon,
string  ammoType,
ItemBase  muzzle_owner,
ItemBase  suppressor,
string  config_to_search 
)

Definition at line 236 of file weaponparticles.c.

◆ WeaponParticlesBase()

void OnParticleCreated::WeaponParticlesBase ( ItemBase  muzzle_owner,
string  config_OnFire_entry 
)

Definition at line 26 of file weaponparticles.c.

Variable Documentation

◆ m_IgnoreIfSuppressed

bool m_IgnoreIfSuppressed

Definition at line 3 of file weaponparticles.c.

◆ m_IlluminateWorld

bool m_IlluminateWorld

Definition at line 2 of file weaponparticles.c.

◆ m_MuzzleIndex

int m_MuzzleIndex

Definition at line 5 of file weaponparticles.c.

◆ m_Name

string m_Name

Definition at line 20 of file weaponparticles.c.

◆ m_OnlyIfBoltIsOpen

bool m_OnlyIfBoltIsOpen

Definition at line 4 of file weaponparticles.c.

◆ m_OnlyIfBulletIs

string m_OnlyIfBulletIs

Definition at line 14 of file weaponparticles.c.

◆ m_OnlyIfWeaponIs

string m_OnlyIfWeaponIs

Definition at line 15 of file weaponparticles.c.

◆ m_OnlyWithinHealthLabelMax

int m_OnlyWithinHealthLabelMax

Definition at line 8 of file weaponparticles.c.

◆ m_OnlyWithinHealthLabelMin

int m_OnlyWithinHealthLabelMin

Definition at line 7 of file weaponparticles.c.

◆ m_OnlyWithinOverheatLimitsMax

float m_OnlyWithinOverheatLimitsMax

Definition at line 10 of file weaponparticles.c.

◆ m_OnlyWithinOverheatLimitsMin

float m_OnlyWithinOverheatLimitsMin

Definition at line 9 of file weaponparticles.c.

◆ m_OnlyWithinRainLimitsMax

float m_OnlyWithinRainLimitsMax

Definition at line 12 of file weaponparticles.c.

◆ m_OnlyWithinRainLimitsMin

float m_OnlyWithinRainLimitsMin

Definition at line 11 of file weaponparticles.c.

◆ m_OverrideDirectionPoint

string m_OverrideDirectionPoint

Definition at line 13 of file weaponparticles.c.

◆ m_OverrideDirectionVector

vector m_OverrideDirectionVector

Definition at line 17 of file weaponparticles.c.

◆ m_OverrideParticle

int m_OverrideParticle

Definition at line 6 of file weaponparticles.c.

◆ m_OverridePoint

string m_OverridePoint

Definition at line 16 of file weaponparticles.c.

◆ m_PositionOffset

vector m_PositionOffset

Definition at line 18 of file weaponparticles.c.