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

Go to the source code of this file.

Data Structures

class  RemoteDetonatorTrigger
 
class  ReplaceDetonatorItemLambda
 
class  ReplaceDetonatorItemOnDisarmLambda
 

Enumerations

enum  ERemoteDetonatorLEDState { OFF = 0, LIT }
 

Functions

bool IsKit ()
 
void UpdateLED (ERemoteDetonatorLEDState pState, bool pForced=false)
 
override void SetActions ()
 
RemoteDetonatorTrigger RemoteDetonator RemoteDetonatorReceiver ()
 
void RemoteDetonatorTrigger ()
 
override void OnVariablesSynchronized ()
 
override void EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
 
override RemotelyActivatedItemBehaviour GetRemotelyActivatedItemBehaviour ()
 
override void OnCEUpdate ()
 
override void PairRemote (notnull EntityAI trigger)
 
override void UnpairRemote ()
 
override void OnActivatedByItem (notnull ItemBase item)
 Called when this item is activated by other. More...
 
void SetControlledDevice (EntityAI pDevice)
 
bool IsConnected ()
 
EntityAI GetControlledDevice ()
 
override void OnAnimationPhaseStarted (string animSource, float phase)
 
override void OnWasDetached (EntityAI parent, int slot_id)
 
override void EEKilled (Object killer)
 
ReplaceDetonatorItemLambda ReplaceItemWithNewLambdaBase SetPairDevice (EntityAI device)
 
override void CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item)
 
override void OnSuccess (EntityAI new_item)
 
override void OnAbort ()
 

Variables

enum ERemoteDetonatorLEDState COLOR_LED_OFF = "#(argb,8,8,3)color(0,0,0,1.0,co)"
 
const string COLOR_LED_LIT = "#(argb,8,8,3)color(1,0,0,1.0,co)"
 
const string SELECTION_NAME_LED = "LED"
 
protected ERemoteDetonatorLEDState m_LastLEDState
 
const protected string ANIM_PHASE_TRIGGER = "trigger"
 
protected bool m_LED
 
protected ref RemotelyActivatedItemBehaviour m_RAIB
 

Enumeration Type Documentation

◆ ERemoteDetonatorLEDState

Enumerator
OFF 
LIT 

Definition at line 1 of file remotedetonator.c.

Function Documentation

◆ CopyOldPropertiesToNew()

override void SetPairDevice::CopyOldPropertiesToNew ( notnull EntityAI  old_item,
EntityAI  new_item 
)

Definition at line 250 of file remotedetonator.c.

◆ EEItemLocationChanged()

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

Definition at line 72 of file remotedetonator.c.

◆ EEKilled()

override void EEKilled ( Object  killer)

Definition at line 242 of file remotedetonator.c.

◆ GetControlledDevice()

EntityAI RemoteDetonatorReceiver::GetControlledDevice ( )

Definition at line 140 of file remotedetonator.c.

◆ GetRemotelyActivatedItemBehaviour()

override RemotelyActivatedItemBehaviour RemoteDetonatorReceiver::GetRemotelyActivatedItemBehaviour ( )

Definition at line 82 of file remotedetonator.c.

◆ IsConnected()

bool RemoteDetonatorReceiver::IsConnected ( )

Definition at line 135 of file remotedetonator.c.

◆ IsKit()

override bool IsKit ( )

Definition at line 15 of file remotedetonator.c.

◆ OnAbort()

override void OnAbort ( )

Definition at line 300 of file remotedetonator.c.

◆ OnActivatedByItem()

override void OnActivatedByItem ( notnull ItemBase  item)

Called when this item is activated by other.

Definition at line 115 of file remotedetonator.c.

◆ OnAnimationPhaseStarted()

override void RemoteDetonatorReceiver::OnAnimationPhaseStarted ( string  animSource,
float  phase 
)

Definition at line 181 of file remotedetonator.c.

◆ OnCEUpdate()

override void RemoteDetonatorReceiver::OnCEUpdate ( )

Definition at line 87 of file remotedetonator.c.

◆ OnSuccess()

override void OnSuccess ( EntityAI  new_item)

Definition at line 277 of file remotedetonator.c.

◆ OnVariablesSynchronized()

override void RemoteDetonatorReceiver::OnVariablesSynchronized ( )

Definition at line 60 of file remotedetonator.c.

◆ OnWasDetached()

override void OnWasDetached ( EntityAI  parent,
int  slot_id 
)

Definition at line 237 of file remotedetonator.c.

◆ PairRemote()

override void RemoteDetonatorReceiver::PairRemote ( notnull EntityAI  trigger)

Definition at line 104 of file remotedetonator.c.

◆ RemoteDetonatorReceiver()

RemoteDetonatorTrigger RemoteDetonator RemoteDetonatorReceiver ( )

Definition at line 227 of file remotedetonator.c.

◆ RemoteDetonatorTrigger()

void RemoteDetonatorReceiver::RemoteDetonatorTrigger ( )

Definition at line 43 of file remotedetonator.c.

◆ SetActions()

override void SetActions ( )

Definition at line 37 of file remotedetonator.c.

◆ SetControlledDevice()

void RemoteDetonatorReceiver::SetControlledDevice ( EntityAI  pDevice)

Definition at line 130 of file remotedetonator.c.

◆ SetPairDevice()

Definition at line 272 of file remotedetonator.c.

◆ UnpairRemote()

override void RemoteDetonatorReceiver::UnpairRemote ( )

Definition at line 109 of file remotedetonator.c.

◆ UpdateLED()

void UpdateLED ( ERemoteDetonatorLEDState  pState,
bool  pForced = false 
)

Definition at line 20 of file remotedetonator.c.

Variable Documentation

◆ ANIM_PHASE_TRIGGER

const protected string ANIM_PHASE_TRIGGER = "trigger"

Definition at line 38 of file remotedetonator.c.

◆ COLOR_LED_LIT

const string COLOR_LED_LIT = "#(argb,8,8,3)color(1,0,0,1.0,co)"

Definition at line 10 of file remotedetonator.c.

◆ COLOR_LED_OFF

enum ERemoteDetonatorLEDState COLOR_LED_OFF = "#(argb,8,8,3)color(0,0,0,1.0,co)"

◆ m_LastLEDState

protected ERemoteDetonatorLEDState m_LastLEDState

Definition at line 13 of file remotedetonator.c.

◆ m_LED

protected bool m_LED

Definition at line 40 of file remotedetonator.c.

◆ m_RAIB

protected ref RemotelyActivatedItemBehaviour m_RAIB

Definition at line 41 of file remotedetonator.c.

◆ SELECTION_NAME_LED

const string SELECTION_NAME_LED = "LED"

Definition at line 11 of file remotedetonator.c.