Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseDeployableInventoryItemComponent Class Reference

Base class which all deployable inventory items inherit from. More...

Inheritance diagram for SCR_BaseDeployableInventoryItemComponent:
ScriptComponent

Protected Member Functions

void SetDeploying (bool isDeploying)
bool IsDeploying ()
SCR_DeployableItemState GetOnDeployedStateChanged ()
void OnCompositionDestroyed (IEntity instigator)
 Callback method that is triggered when composition is destroyed.
void RPC_SetTransformBroadcast (vector transform[4])
void RPC_PlaySoundOnDeployBroadcast (bool deploy)
void Deploy (IEntity userEntity=null, bool reload=false)
void Dismantle (IEntity userEntity=null, bool reload=false)
void SetItemOwner (int playerId)
void Reload ()
 Dismantle and redeploy to update settings.
void OnRplDeployed ()
bool CanDeployBeShown (notnull IEntity userEntity)
bool CanDismantleBeShown (notnull IEntity userEntity)
bool IsDeployed ()
int GetItemOwnerID ()
override void OnPostInit (IEntity owner)
override void OnDelete (IEntity owner)

Protected Attributes

bool m_bIsDeployed
IEntity m_ReplacementEntity
vector m_aOriginalTransform [4]
RplComponent m_RplComponent
bool m_bIsDeploying
int m_iItemOwnerID
ref SCR_DeployableItemState m_OnDeployedStateChanged
bool m_bWasDeployed
IEntity m_PreviousOwner

Detailed Description

Base class which all deployable inventory items inherit from.

Definition at line 38 of file SCR_BaseDeployableInventoryItemComponent.c.

Member Function Documentation

◆ CanDeployBeShown()

bool SCR_BaseDeployableInventoryItemComponent::CanDeployBeShown ( notnull IEntity userEntity)
inlineprotected
Parameters
[in]userEntity
Returns

Definition at line 267 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ CanDismantleBeShown()

bool SCR_BaseDeployableInventoryItemComponent::CanDismantleBeShown ( notnull IEntity userEntity)
inlineprotected
Parameters
[in]userEntity
Returns

Definition at line 276 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ Deploy()

void SCR_BaseDeployableInventoryItemComponent::Deploy ( IEntity userEntity = null,
bool reload = false )
inlineprotected

Gets called when deploy action is executed by player

Parameters
[in]userEntity

Definition at line 127 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ Dismantle()

void SCR_BaseDeployableInventoryItemComponent::Dismantle ( IEntity userEntity = null,
bool reload = false )
inlineprotected

Gets called when dismantle action is executed by player

Parameters
[in]userEntity

Definition at line 199 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ GetItemOwnerID()

int SCR_BaseDeployableInventoryItemComponent::GetItemOwnerID ( )
inlineprotected
Returns

Definition at line 291 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ GetOnDeployedStateChanged()

SCR_DeployableItemState SCR_BaseDeployableInventoryItemComponent::GetOnDeployedStateChanged ( )
inlineprotected

Definition at line 71 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ IsDeployed()

bool SCR_BaseDeployableInventoryItemComponent::IsDeployed ( )
inlineprotected
Returns

Definition at line 284 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ IsDeploying()

bool SCR_BaseDeployableInventoryItemComponent::IsDeploying ( )
inlineprotected

Definition at line 65 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ OnCompositionDestroyed()

void SCR_BaseDeployableInventoryItemComponent::OnCompositionDestroyed ( IEntity instigator)
inlineprotected

Callback method that is triggered when composition is destroyed.

Definition at line 81 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ OnDelete()

override void SCR_BaseDeployableInventoryItemComponent::OnDelete ( IEntity owner)
inlineprotected

Definition at line 305 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ OnPostInit()

override void SCR_BaseDeployableInventoryItemComponent::OnPostInit ( IEntity owner)
inlineprotected

Definition at line 297 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ OnRplDeployed()

void SCR_BaseDeployableInventoryItemComponent::OnRplDeployed ( )
protected

◆ Reload()

void SCR_BaseDeployableInventoryItemComponent::Reload ( )
inlineprotected

Dismantle and redeploy to update settings.

Definition at line 246 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ RPC_PlaySoundOnDeployBroadcast()

void SCR_BaseDeployableInventoryItemComponent::RPC_PlaySoundOnDeployBroadcast ( bool deploy)
inlineprotected

Definition at line 103 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ RPC_SetTransformBroadcast()

void SCR_BaseDeployableInventoryItemComponent::RPC_SetTransformBroadcast ( vector transform[4])
inlineprotected

Definition at line 95 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ SetDeploying()

void SCR_BaseDeployableInventoryItemComponent::SetDeploying ( bool isDeploying)
inlineprotected

Definition at line 59 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ SetItemOwner()

void SCR_BaseDeployableInventoryItemComponent::SetItemOwner ( int playerId)
inlineprotected

Definition at line 239 of file SCR_BaseDeployableInventoryItemComponent.c.

Member Data Documentation

◆ m_aOriginalTransform

vector SCR_BaseDeployableInventoryItemComponent::m_aOriginalTransform[4]
protected

Definition at line 44 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ m_bIsDeployed

bool SCR_BaseDeployableInventoryItemComponent::m_bIsDeployed
protected

Definition at line 41 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ m_bIsDeploying

bool SCR_BaseDeployableInventoryItemComponent::m_bIsDeploying
protected

Definition at line 48 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ m_bWasDeployed

bool SCR_BaseDeployableInventoryItemComponent::m_bWasDeployed
protected

Definition at line 55 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ m_iItemOwnerID

int SCR_BaseDeployableInventoryItemComponent::m_iItemOwnerID
protected

Definition at line 51 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ m_OnDeployedStateChanged

ref SCR_DeployableItemState SCR_BaseDeployableInventoryItemComponent::m_OnDeployedStateChanged
protected

Definition at line 53 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ m_PreviousOwner

IEntity SCR_BaseDeployableInventoryItemComponent::m_PreviousOwner
protected

Definition at line 56 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ m_ReplacementEntity

IEntity SCR_BaseDeployableInventoryItemComponent::m_ReplacementEntity
protected

Definition at line 43 of file SCR_BaseDeployableInventoryItemComponent.c.

◆ m_RplComponent

RplComponent SCR_BaseDeployableInventoryItemComponent::m_RplComponent
protected

Definition at line 46 of file SCR_BaseDeployableInventoryItemComponent.c.


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