Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
RemotelyActivatedItemBehaviour Class Reference

Protected Member Functions

void RemotelyActivatedItemBehaviour (notnull EntityAI pParent)
void RemotelyActivatedItemBehaviour (notnull EntityAI pParent)
void ~RemotelyActivatedItemBehaviour ()
EntityAI GetPairDevice ()
EntityAI GetPairDevice ()
int GetPairDeviceNetIdHigh ()
int GetPairDeviceNetIdHigh ()
int GetPairDeviceNetIdLow ()
int GetPairDeviceNetIdLow ()
bool IsPaired ()
bool IsPaired ()
void OnAfterLoad ()
bool OnStoreLoad (ParamsReadContext ctx, int version)
void OnStoreSave (ParamsWriteContext ctx)
void OnVariableSynchronized ()
void OnVariableSynchronized ()
void Pair ()
void Pair ()
void Pair (notnull EntityAI device)
void Pair (notnull EntityAI device)
void SetPairDeviceNetIds (notnull EntityAI device)
void SetPairDeviceNetIds (notnull EntityAI device)
void SetPersistentPairID (int id)
void SetTrigger ()
void Unpair ()
void Unpair ()

Static Protected Member Functions

static int GeneratePersistentID ()

Protected Attributes

bool m_IsTrigger
EntityAI m_PairDevice
int m_PairDeviceNetIdHigh
int m_PairDeviceNetIdLow
EntityAI m_Parent
int m_PersistentPairID = int.MIN

Static Protected Attributes

static ref map< int, EntityAIm_RemoteReceivers = new map<int,EntityAI>()

Detailed Description

Definition at line 1 of file remotelyactivateditembehaviour.c.

Constructor & Destructor Documentation

◆ RemotelyActivatedItemBehaviour() [1/2]

void RemotelyActivatedItemBehaviour ( notnull EntityAI pParent)
inlineprotected

◆ ~RemotelyActivatedItemBehaviour()

void ~RemotelyActivatedItemBehaviour ( )
inlineprotected

Definition at line 20 of file remotelyactivateditembehaviour.c.

References m_Parent, and Unpair().

◆ RemotelyActivatedItemBehaviour() [2/2]

void RemotelyActivatedItemBehaviour ( notnull EntityAI pParent)
inlineprotected

Member Function Documentation

◆ GeneratePersistentID()

int GeneratePersistentID ( )
inlinestaticprotected

◆ GetPairDevice() [1/2]

EntityAI GetPairDevice ( )
inlineprotected

Definition at line 143 of file remotelyactivateditembehaviour.c.

References m_PairDevice.

◆ GetPairDevice() [2/2]

EntityAI GetPairDevice ( )
inlineprotected

Definition at line 57 of file remotelyactivateditembehaviour.c.

References m_PairDevice.

◆ GetPairDeviceNetIdHigh() [1/2]

int GetPairDeviceNetIdHigh ( )
inlineprotected

Definition at line 163 of file remotelyactivateditembehaviour.c.

References m_PairDeviceNetIdHigh.

Referenced by Pair().

◆ GetPairDeviceNetIdHigh() [2/2]

int GetPairDeviceNetIdHigh ( )
inlineprotected

Definition at line 77 of file remotelyactivateditembehaviour.c.

References m_PairDeviceNetIdHigh.

◆ GetPairDeviceNetIdLow() [1/2]

int GetPairDeviceNetIdLow ( )
inlineprotected

Definition at line 158 of file remotelyactivateditembehaviour.c.

References m_PairDeviceNetIdLow.

Referenced by Pair().

◆ GetPairDeviceNetIdLow() [2/2]

int GetPairDeviceNetIdLow ( )
inlineprotected

Definition at line 72 of file remotelyactivateditembehaviour.c.

References m_PairDeviceNetIdLow.

◆ IsPaired() [1/2]

bool IsPaired ( )
inlineprotected

Definition at line 148 of file remotelyactivateditembehaviour.c.

References m_PairDevice.

◆ IsPaired() [2/2]

bool IsPaired ( )
inlineprotected

Definition at line 62 of file remotelyactivateditembehaviour.c.

References m_PairDevice.

◆ OnAfterLoad()

void OnAfterLoad ( )
inlineprotected

◆ OnStoreLoad()

bool OnStoreLoad ( ParamsReadContext ctx,
int version )
inlineprotected

◆ OnStoreSave()

void OnStoreSave ( ParamsWriteContext ctx)
inlineprotected

Definition at line 36 of file remotelyactivateditembehaviour.c.

References m_PersistentPairID, and Serializer::Write().

Referenced by InventoryItem::OnStoreSave().

◆ OnVariableSynchronized() [1/2]

void OnVariableSynchronized ( )
inlineprotected

Definition at line 31 of file remotelyactivateditembehaviour.c.

References Pair().

Referenced by ManBase::OnVariablesSynchronized().

◆ OnVariableSynchronized() [2/2]

void OnVariableSynchronized ( )
inlineprotected

Definition at line 15 of file remotelyactivateditembehaviour.c.

References Pair().

◆ Pair() [1/4]

void Pair ( )
inlineprotected

◆ Pair() [2/4]

void Pair ( )
inlineprotected

◆ Pair() [3/4]

void Pair ( notnull EntityAI device)
inlineprotected

Definition at line 110 of file remotelyactivateditembehaviour.c.

References m_PairDevice, m_Parent, and SetPairDeviceNetIds().

◆ Pair() [4/4]

void Pair ( notnull EntityAI device)
inlineprotected

Definition at line 29 of file remotelyactivateditembehaviour.c.

References m_PairDevice, m_Parent, and SetPairDeviceNetIds().

◆ SetPairDeviceNetIds() [1/2]

void SetPairDeviceNetIds ( notnull EntityAI device)
inlineprotected

Definition at line 153 of file remotelyactivateditembehaviour.c.

References m_PairDeviceNetIdHigh, and m_PairDeviceNetIdLow.

Referenced by Pair().

◆ SetPairDeviceNetIds() [2/2]

void SetPairDeviceNetIds ( notnull EntityAI device)
inlineprotected

Definition at line 67 of file remotelyactivateditembehaviour.c.

References m_PairDeviceNetIdHigh, and m_PairDeviceNetIdLow.

◆ SetPersistentPairID()

void SetPersistentPairID ( int id)
inlineprotected

◆ SetTrigger()

void SetTrigger ( )
inlineprotected

Definition at line 26 of file remotelyactivateditembehaviour.c.

References m_IsTrigger.

◆ Unpair() [1/2]

◆ Unpair() [2/2]

void Unpair ( )
inlineprotected

Field Documentation

◆ m_IsTrigger

bool m_IsTrigger
protected

◆ m_PairDevice

EntityAI m_PairDevice
protected

Definition at line 5 of file remotelyactivateditembehaviour.c.

Referenced by GetPairDevice(), IsPaired(), OnAfterLoad(), Pair(), and Unpair().

◆ m_PairDeviceNetIdHigh

int m_PairDeviceNetIdHigh
protected

◆ m_PairDeviceNetIdLow

int m_PairDeviceNetIdLow
protected

◆ m_Parent

◆ m_PersistentPairID

int m_PersistentPairID = int.MIN
protected

◆ m_RemoteReceivers

ref map<int,EntityAI> m_RemoteReceivers = new map<int,EntityAI>()
staticprotected

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