Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
events.c File Reference

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)
 

Enumeration Type Documentation

◆ WeaponEventID

identifier for events. mainly for rpc purposes

Enumerator
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 

Definition at line 5 of file events.c.

Function Documentation

◆ CreateWeaponEventFromContext()

WeaponEventBase CreateWeaponEventFromContext ( ParamsReadContext ctx)

Definition at line 281 of file events.c.

◆ WeaponAnimEventFactory()

WeaponEventBase WeaponAnimEventFactory ( WeaponEvents type,
DayZPlayer p = NULL,
Magazine m = NULL )

creates animation system events

Definition at line 251 of file events.c.

◆ 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.