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

Go to the source code of this file.

Data Structures

class  TripwireTrapDeployed
 

Enumerations

enum  eWireMaterial { WIRE = 0, BARBED_WIRE = 1, ROPE = 2 }
 

Functions

void TripwireTrap ()
 
override void OnVariablesSynchronized ()
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
override void CreateTrigger ()
 
override void OnSteppedOn (EntityAI victim)
 
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
 
override void EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
 
override void EEHealthLevelChanged (int oldLevel, int newLevel, string zone)
 
override void SetInactive (bool stop_timer=true)
 
void SetState (int state_ID)
 
int GetState ()
 returns one of STATE_... More...
 
void SetWireType (int wireType)
 
int GetWireType ()
 
override void RefreshState ()
 
override void SetupTrapPlayer (PlayerBase player, bool set_position=true)
 
override void StartDeactivate (PlayerBase player)
 
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
 
override bool CanDisplayAttachmentSlot (int slot_id)
 
override void EEItemAttached (EntityAI item, string slot_name)
 
override void EEItemDetached (EntityAI item, string slot_name)
 
override void EEKilled (Object killer)
 
void FoldTripWire ()
 
override void OnInventoryEnter (Man player)
 
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
 
override void OnPlacementCancelled (Man player)
 
override bool IsDeployable ()
 
override bool IsTakeable ()
 
override string GetDeploySoundset ()
 
override string GetLoopDeploySoundset ()
 
override void SetActions ()
 
void UpdateProxySelections ()
 

Variables

enum eWireMaterial FOLDED = 3
 
int m_State = FOLDED
 
private int m_WireMaterial
 
protected bool m_ResultOfAdvancedPlacing
 
protected vector m_TriggerPosition
 
protected vector m_TriggerOrientation
 

Enumeration Type Documentation

◆ eWireMaterial

Enumerator
WIRE 
BARBED_WIRE 
ROPE 

Definition at line 2 of file trap_tripwire.c.

Function Documentation

◆ CanDisplayAttachmentSlot()

override bool CanDisplayAttachmentSlot ( int  slot_id)

Definition at line 236 of file trap_tripwire.c.

◆ CanReceiveAttachment()

override bool CanReceiveAttachment ( EntityAI  attachment,
int  slotId 
)

Definition at line 227 of file trap_tripwire.c.

◆ CreateTrigger()

override void CreateTrigger ( )

Definition at line 70 of file trap_tripwire.c.

◆ EEHealthLevelChanged()

override void EEHealthLevelChanged ( int  oldLevel,
int  newLevel,
string  zone 
)

Definition at line 146 of file trap_tripwire.c.

◆ EEItemAttached()

override void EEItemAttached ( EntityAI  item,
string  slot_name 
)

Definition at line 244 of file trap_tripwire.c.

◆ EEItemDetached()

override void EEItemDetached ( EntityAI  item,
string  slot_name 
)

Definition at line 251 of file trap_tripwire.c.

◆ EEItemLocationChanged()

override void EEItemLocationChanged ( notnull InventoryLocation  oldLoc,
notnull InventoryLocation  newLoc 
)

Definition at line 121 of file trap_tripwire.c.

◆ EEKilled()

override void EEKilled ( Object  killer)

Definition at line 258 of file trap_tripwire.c.

◆ FoldTripWire()

void FoldTripWire ( )

Definition at line 269 of file trap_tripwire.c.

◆ GetDeploySoundset()

override string GetDeploySoundset ( )

Definition at line 381 of file trap_tripwire.c.

◆ GetLoopDeploySoundset()

override string GetLoopDeploySoundset ( )

Definition at line 386 of file trap_tripwire.c.

◆ GetState()

int GetState ( )

returns one of STATE_...

returns the state of climb (enum value of ClimbStates);

Definition at line 186 of file trap_tripwire.c.

◆ GetWireType()

int GetWireType ( )

Definition at line 196 of file trap_tripwire.c.

◆ IsDeployable()

override bool IsDeployable ( )

Definition at line 370 of file trap_tripwire.c.

◆ IsTakeable()

override bool IsTakeable ( )

Definition at line 376 of file trap_tripwire.c.

◆ OnInventoryEnter()

override void OnInventoryEnter ( Man  player)

Definition at line 284 of file trap_tripwire.c.

◆ OnItemLocationChanged()

override void OnItemLocationChanged ( EntityAI  old_owner,
EntityAI  new_owner 
)

Definition at line 109 of file trap_tripwire.c.

◆ OnPlacementCancelled()

override void OnPlacementCancelled ( Man  player)

Definition at line 361 of file trap_tripwire.c.

◆ OnPlacementComplete()

override void OnPlacementComplete ( Man  player,
vector  position = "0 0 0",
vector  orientation = "0 0 0" 
)

Definition at line 348 of file trap_tripwire.c.

◆ OnSteppedOn()

override void OnSteppedOn ( EntityAI  victim)

Definition at line 82 of file trap_tripwire.c.

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext  ctx,
int  version 
)

Definition at line 55 of file trap_tripwire.c.

◆ OnStoreSave()

override void OnStoreSave ( ParamsWriteContext  ctx)

Definition at line 47 of file trap_tripwire.c.

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )

Definition at line 37 of file trap_tripwire.c.

◆ RefreshState()

override void RefreshState ( )

Definition at line 202 of file trap_tripwire.c.

◆ SetActions()

override void SetActions ( )

Definition at line 391 of file trap_tripwire.c.

◆ SetInactive()

override void SetInactive ( bool  stop_timer = true)

Definition at line 160 of file trap_tripwire.c.

◆ SetState()

void SetState ( int  state_ID)

Definition at line 181 of file trap_tripwire.c.

◆ SetupTrapPlayer()

override void SetupTrapPlayer ( PlayerBase  player,
bool  set_position = true 
)

Definition at line 212 of file trap_tripwire.c.

◆ SetWireType()

void SetWireType ( int  wireType)

Definition at line 191 of file trap_tripwire.c.

◆ StartDeactivate()

override void StartDeactivate ( PlayerBase  player)

Definition at line 218 of file trap_tripwire.c.

◆ TripwireTrap()

void TripwireTrap ( )

Definition at line 23 of file trap_tripwire.c.

◆ UpdateProxySelections()

void UpdateProxySelections ( )

Definition at line 403 of file trap_tripwire.c.

Variable Documentation

◆ FOLDED

enum eWireMaterial FOLDED = 3

◆ m_ResultOfAdvancedPlacing

protected bool m_ResultOfAdvancedPlacing

Definition at line 19 of file trap_tripwire.c.

◆ m_State

int m_State = FOLDED

Definition at line 16 of file trap_tripwire.c.

◆ m_TriggerOrientation

protected vector m_TriggerOrientation

Definition at line 21 of file trap_tripwire.c.

◆ m_TriggerPosition

protected vector m_TriggerPosition

Definition at line 20 of file trap_tripwire.c.

◆ m_WireMaterial

private int m_WireMaterial

Definition at line 17 of file trap_tripwire.c.