Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
areadamageevents.c
Go to the documentation of this file.
3 {
6  void OnTriggerCreated() {}
8  void OnTriggerDestroyed() {}
10 
13  void OnEnterBeginEvent(TriggerInsider insider) {}
14  void OnEnterServerEvent(TriggerInsider insider) {}
15  void OnEnterClientEvent(TriggerInsider insider) {}
16  void OnEnterEndEvent(TriggerInsider insider) {}
18 
21  void OnStayStartBeginEvent(int nrOfInsiders) {}
22  void OnStayStartServerEvent(int nrOfInsiders) {}
23  void OnStayStartClientEvent(int nrOfInsiders) {}
24  void OnStayStartEndEvent(int nrOfInsiders) {}
26 
29  void OnStayBeginEvent(TriggerInsider insider, float deltaTime) {}
30  void OnStayServerEvent(TriggerInsider insider, float deltaTime) {}
31  void OnStayClientEvent(TriggerInsider insider, float deltaTime) {}
32  void OnStayEndEvent(TriggerInsider insider, float deltaTime) {}
34 
37  void OnStayFinishBeginEvent() {}
38  void OnStayFinishServerEvent() {}
39  void OnStayFinishClientEvent() {}
40  void OnStayFinishEndEvent() {}
42 
45  void OnLeaveBeginEvent(TriggerInsider insider) {}
46  void OnLeaveServerEvent(TriggerInsider insider) {}
47  void OnLeaveClientEvent(TriggerInsider insider) {}
48  void OnLeaveEndEvent(TriggerInsider insider) {}
50 
53  protected bool OnEvaluateDamage(TriggerInsider insider, float damageCoef) { return false; }
55 
58  protected void PreDamageActions() {}
60  protected void PostDamageActions() {}
62 }
TriggerInsider
The object which is in a trigger and its metadata.
Definition: trigger.c:2
AreaDamageEvents
Events used across AreaDamage API, calling of these needs to be handled by parent.
Definition: areadamageevents.c:2