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

Go to the source code of this file.

Data Structures

class  AreaDamageTriggerInsider
 Extended TriggerInsider for AreaDamageTriggerBase. More...
 

Functions

void AreaDamageTriggerBase ()
 ctor More...
 
void ~AreaDamageTriggerBase ()
 dtor More...
 
void SetAreaDamageManager (AreaDamageManager adType)
 AreaDamageTriggerBase configuration. More...
 
override protected void OnEnterBeginEvent (TriggerInsider insider)
 TriggerEvents, pass them on to manager. More...
 
override protected void OnEnterServerEvent (TriggerInsider insider)
 
override protected void OnEnterClientEvent (TriggerInsider insider)
 
override protected void OnEnterEndEvent (TriggerInsider insider)
 
override protected void OnStayStartBeginEvent (int nrOfInsiders)
 OnStayStart. More...
 
override protected void OnStayStartServerEvent (int nrOfInsiders)
 
override protected void OnStayStartClientEvent (int nrOfInsiders)
 
override protected void OnStayStartEndEvent (int nrOfInsiders)
 
override protected void OnStayBeginEvent (TriggerInsider insider, float deltaTime)
 OnStay. More...
 
override protected void OnStayServerEvent (TriggerInsider insider, float deltaTime)
 
override protected void OnStayClientEvent (TriggerInsider insider, float deltaTime)
 
override protected void OnStayEndEvent (TriggerInsider insider, float deltaTime)
 
override protected void OnStayFinishBeginEvent ()
 OnStayFinish. More...
 
override protected void OnStayFinishServerEvent ()
 
override protected void OnStayFinishClientEvent ()
 
override protected void OnStayFinishEndEvent ()
 
override protected void OnLeaveBeginEvent (TriggerInsider insider)
 OnLeave. More...
 
override protected void OnLeaveServerEvent (TriggerInsider insider)
 
override protected void OnLeaveClientEvent (TriggerInsider insider)
 
override protected void OnLeaveEndEvent (TriggerInsider insider)
 
override protected bool ShouldRemoveInsider (TriggerInsider insider)
 TriggerInsider conditions. More...
 
override protected TriggerInsider CreateInsider (Object obj)
 TriggerInsider processing. More...
 
override protected void AddInsider (Object obj)
 Adding of new TriggerInsider. More...
 
override protected void RemoveInsider (TriggerInsider insider, int index=-1)
 Removing of TriggerInsider. More...
 
override protected void UpdateInsiders (int timeout)
 Update the current TriggerInsider inside the Trigger. More...
 

Variables

AreaDamageTriggerInsider m_AreaDamageManager
 Managed by AreaDamageManager and its derivatives. More...
 

Function Documentation

◆ AddInsider()

override protected void AddInsider ( Object  obj)

Adding of new TriggerInsider.

Definition at line 224 of file areadamagetriggerbase.c.

◆ AreaDamageTriggerBase()

ctor

Definition at line 19 of file areadamagetriggerbase.c.

◆ CreateInsider()

override protected TriggerInsider CreateInsider ( Object  obj)

TriggerInsider processing.

Override the TriggerInsider type to be AreaDamageTriggerInsider

Definition at line 218 of file areadamagetriggerbase.c.

◆ OnEnterBeginEvent()

override protected void OnEnterBeginEvent ( TriggerInsider  insider)

TriggerEvents, pass them on to manager.

OnEnter

Definition at line 54 of file areadamagetriggerbase.c.

◆ OnEnterClientEvent()

override protected void OnEnterClientEvent ( TriggerInsider  insider)

Definition at line 68 of file areadamagetriggerbase.c.

◆ OnEnterEndEvent()

override protected void OnEnterEndEvent ( TriggerInsider  insider)

Definition at line 75 of file areadamagetriggerbase.c.

◆ OnEnterServerEvent()

override protected void OnEnterServerEvent ( TriggerInsider  insider)

Definition at line 61 of file areadamagetriggerbase.c.

◆ OnLeaveBeginEvent()

override protected void OnLeaveBeginEvent ( TriggerInsider  insider)

OnLeave.

Definition at line 174 of file areadamagetriggerbase.c.

◆ OnLeaveClientEvent()

override protected void OnLeaveClientEvent ( TriggerInsider  insider)

Definition at line 188 of file areadamagetriggerbase.c.

◆ OnLeaveEndEvent()

override protected void OnLeaveEndEvent ( TriggerInsider  insider)

Definition at line 195 of file areadamagetriggerbase.c.

◆ OnLeaveServerEvent()

override protected void OnLeaveServerEvent ( TriggerInsider  insider)

Definition at line 181 of file areadamagetriggerbase.c.

◆ OnStayBeginEvent()

override protected void OnStayBeginEvent ( TriggerInsider  insider,
float  deltaTime 
)

OnStay.

Definition at line 114 of file areadamagetriggerbase.c.

◆ OnStayClientEvent()

override protected void OnStayClientEvent ( TriggerInsider  insider,
float  deltaTime 
)

Definition at line 128 of file areadamagetriggerbase.c.

◆ OnStayEndEvent()

override protected void OnStayEndEvent ( TriggerInsider  insider,
float  deltaTime 
)

Definition at line 135 of file areadamagetriggerbase.c.

◆ OnStayFinishBeginEvent()

override protected void OnStayFinishBeginEvent ( )

OnStayFinish.

Definition at line 144 of file areadamagetriggerbase.c.

◆ OnStayFinishClientEvent()

override protected void OnStayFinishClientEvent ( )

Definition at line 158 of file areadamagetriggerbase.c.

◆ OnStayFinishEndEvent()

override protected void OnStayFinishEndEvent ( )

Definition at line 165 of file areadamagetriggerbase.c.

◆ OnStayFinishServerEvent()

override protected void OnStayFinishServerEvent ( )

Definition at line 151 of file areadamagetriggerbase.c.

◆ OnStayServerEvent()

override protected void OnStayServerEvent ( TriggerInsider  insider,
float  deltaTime 
)

Definition at line 121 of file areadamagetriggerbase.c.

◆ OnStayStartBeginEvent()

override protected void OnStayStartBeginEvent ( int  nrOfInsiders)

OnStayStart.

Definition at line 84 of file areadamagetriggerbase.c.

◆ OnStayStartClientEvent()

override protected void OnStayStartClientEvent ( int  nrOfInsiders)

Definition at line 98 of file areadamagetriggerbase.c.

◆ OnStayStartEndEvent()

override protected void OnStayStartEndEvent ( int  nrOfInsiders)

Definition at line 105 of file areadamagetriggerbase.c.

◆ OnStayStartServerEvent()

override protected void OnStayStartServerEvent ( int  nrOfInsiders)

Definition at line 91 of file areadamagetriggerbase.c.

◆ RemoveInsider()

override protected void RemoveInsider ( TriggerInsider  insider,
int  index = -1 
)

Removing of TriggerInsider.

Definition at line 233 of file areadamagetriggerbase.c.

◆ SetAreaDamageManager()

void SetAreaDamageManager ( AreaDamageManager  adType)

AreaDamageTriggerBase configuration.

Set the manager instance

Definition at line 40 of file areadamagetriggerbase.c.

◆ ShouldRemoveInsider()

override protected bool ShouldRemoveInsider ( TriggerInsider  insider)

TriggerInsider conditions.

Condition whether a TriggerInsider should still be updated or not (checked in update loop and before adding)

Definition at line 208 of file areadamagetriggerbase.c.

◆ UpdateInsiders()

override protected void UpdateInsiders ( int  timeout)

Update the current TriggerInsider inside the Trigger.

Definition at line 242 of file areadamagetriggerbase.c.

◆ ~AreaDamageTriggerBase()

dtor

call Leave for all insiders when removing trigger

Definition at line 25 of file areadamagetriggerbase.c.

Variable Documentation

◆ m_AreaDamageManager

AreaDamageTriggerInsider m_AreaDamageManager

Managed by AreaDamageManager and its derivatives.

AreaDamageManager managing this instance