DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | WeaponEventBase |
signalize mechanism manipulation More... | |
class | WeaponEventAnimation |
Enumerations | |
enum | WeaponEventID { UNKNOWN , MECHANISM , TRIGGER , TRIGGER_JAM , TRIGGER_AUTO_START , TRIGGER_AUTO_END , LOAD1_BULLET , CONTINUOUS_LOADBULLET_START , CONTINUOUS_LOADBULLET_END , UNJAM , ATTACH_MAGAZINE , UNJAMMING_FAILED_TIMEOUT , UNJAMMING_TIMEOUT , DETACH_MAGAZINE , SWAP_MAGAZINE , HUMANCOMMAND_ACTION_FINISHED , HUMANCOMMAND_ACTION_ABORTED , RELOAD_TIMEOUT , DRY_FIRE_TIMEOUT , SET_NEXT_MUZZLE_MODE , ANIMATION_EVENT } |
identifier for events. mainly for rpc purposes More... | |
Functions | |
WeaponEventBase | WeaponEventFactory (WeaponEventID id, int aetype, DayZPlayer p=NULL, Magazine m=NULL) |
creates weapon fsm events | |
WeaponEventBase | WeaponAnimEventFactory (WeaponEvents type, DayZPlayer p=NULL, Magazine m=NULL) |
creates animation system events | |
WeaponEventBase | CreateWeaponEventFromContext (ParamsReadContext ctx) |
identifier for events. mainly for rpc purposes
Definition at line 5 of file Events.c.
WeaponEventBase CreateWeaponEventFromContext | ( | ParamsReadContext | ctx | ) |
Definition at line 281 of file Events.c.
References WeaponEventBase::ReadFromContext(), and WeaponEventFactory().
Referenced by OnEventForRemoteWeapon().
WeaponEventBase WeaponAnimEventFactory | ( | WeaponEvents | type, |
DayZPlayer | p = NULL, | ||
Magazine | m = NULL ) |
creates animation system events
Definition at line 251 of file Events.c.
Referenced by HandleWeaponEvents(), and WeaponEventFactory().
WeaponEventBase WeaponEventFactory | ( | WeaponEventID | id, |
int | aetype, | ||
DayZPlayer | p = NULL, | ||
Magazine | m = NULL ) |
creates weapon fsm events
Definition at line 223 of file Events.c.
References WeaponAnimEventFactory().
Referenced by CreateWeaponEventFromContext().