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

Go to the source code of this file.

Data Structures

class  TrapTrigger
 Trigger used by traps. More...
 

Functions

TrapTrigger Trigger OnEnterServerEvent (TriggerInsider insider)
 
void TrapTrigger ()
 
void SetParentObject (TrapBase obj)
 
override protected bool CanAddObjectAsInsider (Object object)
 
override protected void OnLeaveServerEvent (TriggerInsider insider)
 
void SetEnabled ()
 prevents insider adding in the wrong position, HOTFIX More...
 

Variables

bool m_Enabled = false
 
TrapBase m_ParentObj
 

Function Documentation

◆ CanAddObjectAsInsider()

override protected bool OnEnterServerEvent::CanAddObjectAsInsider ( Object  object)

Definition at line 24 of file traptrigger.c.

◆ OnEnterServerEvent()

TrapTrigger Trigger OnEnterServerEvent ( TriggerInsider  insider)

Definition at line 70 of file traptrigger.c.

◆ OnLeaveServerEvent()

override protected void OnEnterServerEvent::OnLeaveServerEvent ( TriggerInsider  insider)

Definition at line 41 of file traptrigger.c.

◆ SetEnabled()

void OnEnterServerEvent::SetEnabled ( )

prevents insider adding in the wrong position, HOTFIX

Definition at line 50 of file traptrigger.c.

◆ SetParentObject()

void OnEnterServerEvent::SetParentObject ( TrapBase  obj)

Definition at line 16 of file traptrigger.c.

◆ TrapTrigger()

void OnEnterServerEvent::TrapTrigger ( )

Definition at line 9 of file traptrigger.c.

Variable Documentation

◆ m_Enabled

bool m_Enabled = false

Definition at line 2 of file traptrigger.c.

◆ m_ParentObj

TrapBase m_ParentObj

Definition at line 3 of file traptrigger.c.