DayZ 1.24
Loading...
Searching...
No Matches
TriggerInsider Class Reference

The object which is in a trigger and its metadata. More...

Inheritance diagram for TriggerInsider:
[legend]
Collaboration diagram for TriggerInsider:
[legend]

Protected Member Functions

void TriggerInsider (Object obj)
 
void ~TriggerInsider ()
 
Object GetObject ()
 

Protected Attributes

Object m_Object
 Object that data belongs to.
 
int timeStamp
 Last time the object was seen in ms.
 
float timeEntered
 Time the object was first seen in seconds.
 
float lastUpdated
 Last time the object was updated in seconds, is used for calculating deltaTime.
 

Private Attributes

ref OLinkT insider
 

Detailed Description

The object which is in a trigger and its metadata.

Definition at line 2 of file Trigger.c.

Constructor & Destructor Documentation

◆ TriggerInsider()

void TriggerInsider::TriggerInsider ( Object obj)
inlineprotected

Definition at line 18 of file Trigger.c.

19 {
20 insider = new OLinkT(obj);
21 m_Object = obj;
22 }
Object m_Object
Object that data belongs to.
Definition Trigger.c:7
ref OLinkT insider
Definition Trigger.c:4
Link< Object > OLinkT
Definition gameplay.c:1456

References insider, and m_Object.

◆ ~TriggerInsider()

void TriggerInsider::~TriggerInsider ( )
inlineprotected

Definition at line 24 of file Trigger.c.

25 {
26 }

Member Function Documentation

◆ GetObject()

Member Data Documentation

◆ insider

ref OLinkT TriggerInsider::insider
private

Definition at line 4 of file Trigger.c.

Referenced by TriggerInsider().

◆ lastUpdated

float TriggerInsider::lastUpdated
protected

Last time the object was updated in seconds, is used for calculating deltaTime.

Definition at line 16 of file Trigger.c.

Referenced by Trigger::AddInsider(), AreaDamageLoopedDeferred::CalculateDamageScale(), CalculateDamageScale(), and Trigger::UpdateInsiders().

◆ m_Object

Object TriggerInsider::m_Object
protected

Object that data belongs to.

Definition at line 7 of file Trigger.c.

Referenced by GetObject(), and TriggerInsider().

◆ timeEntered

float TriggerInsider::timeEntered
protected

Time the object was first seen in seconds.

Definition at line 13 of file Trigger.c.

Referenced by Trigger::AddInsider(), AreaDamageLoopedDeferred::CalculateDamageScale(), and CalculateDamageScale().

◆ timeStamp

int TriggerInsider::timeStamp
protected

Last time the object was seen in ms.

Definition at line 10 of file Trigger.c.

Referenced by Trigger::AddInsider().


The documentation for this class was generated from the following file: