Data Structures | |
| 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) |
| enum WeaponEventID |
identifier for events. mainly for rpc purposes
| WeaponEventBase CreateWeaponEventFromContext | ( | ParamsReadContext | ctx | ) |
References Serializer::Read(), WeaponEventBase::ReadFromContext(), and WeaponEventFactory().
Referenced by OnEventForRemoteWeapon().
| WeaponEventBase WeaponAnimEventFactory | ( | WeaponEvents | type, |
| DayZPlayer | p = NULL, |
||
| Magazine | m = NULL |
||
| ) |
creates animation system events
Referenced by HandleWeaponEvents(), and WeaponEventFactory().
| WeaponEventBase WeaponEventFactory | ( | WeaponEventID | id, |
| int | aetype, | ||
| DayZPlayer | p = NULL, |
||
| Magazine | m = NULL |
||
| ) |
creates weapon fsm events
References WeaponAnimEventFactory().
Referenced by CreateWeaponEventFromContext().