DayZ 1.24
Loading...
Searching...
No Matches
ConstructionBoxTrigger Class Reference
Inheritance diagram for ConstructionBoxTrigger:
[legend]
Collaboration diagram for ConstructionBoxTrigger:
[legend]

Protected Member Functions

void UpdateInsiders (int timeout)
 
bool IsColliding ()
 

Private Member Functions

void SetPartName (string part_name)
 
string GetPartName ()
 
- Private Member Functions inherited from ManTrigger
bool CanAddObjectAsInsider (Object object)
 

Private Attributes

string m_PartName
 

Detailed Description

Definition at line 1245 of file Construction.c.

Member Function Documentation

◆ GetPartName()

string ConstructionBoxTrigger::GetPartName ( )
inlineprivate

Definition at line 1254 of file Construction.c.

1255 {
1256 return m_PartName;
1257 }

References m_PartName.

Referenced by CreateCollisionTrigger().

◆ IsColliding()

bool ConstructionBoxTrigger::IsColliding ( )
inlineprotected

Definition at line 1264 of file Construction.c.

1265 {
1266 if (GetInsiders().Count() > 0)
1267 return true;
1268
1269 return false;
1270 }
array< ref TriggerInsider > GetInsiders()
Get the current TriggerInsider array, left for backwards compatibility, moved down from ManTrigger.
Definition Trigger.c:128

References Count, and Trigger::GetInsiders().

Referenced by IsTriggerColliding().

◆ SetPartName()

void ConstructionBoxTrigger::SetPartName ( string part_name)
inlineprivate

Definition at line 1249 of file Construction.c.

1250 {
1252 }

References m_PartName.

Referenced by CreateCollisionTrigger().

◆ UpdateInsiders()

void ConstructionBoxTrigger::UpdateInsiders ( int timeout)
inlineprotected

Definition at line 1259 of file Construction.c.

1260 {
1261 super.UpdateInsiders(20);
1262 }

Member Data Documentation

◆ m_PartName

string ConstructionBoxTrigger::m_PartName
private

Definition at line 1247 of file Construction.c.

Referenced by GetPartName(), and SetPartName().


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