Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ResupplySupportStationAction.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_BaseResupplySupportStationAction
 
class  SCR_ResupplyItemSupportStationData
 

Functions

SCR_BaseResupplySupportStationAction SCR_BaseUseSupportStationAction BaseContainerProps ()
 
protected override ESupportStationType GetSupportStationType ()
 
protected override LocalizedString GetInvalidPerformReasonString (ESupportStationReasonInvalid reasonInvalid)
 
protected bool GetShowButDisabled ()
 
ENotification GetNotificationOnUse ()
 
protected override bool CanHaveMultipleUsers ()
 
override bool CanBeShownScript (IEntity user)
 
override bool CanBePerformedScript (IEntity user)
 
protected override void CanBePerformedUpdate (IEntity user)
 
ResourceName GetItemToResupply ()
 
protected void UpdateCanResupply (IEntity owner, IEntity user)
 
override void PerformAction (IEntity pOwnerEntity, IEntity pUserEntity)
 
protected void SetTargetInventory (IEntity user, IEntity owner)
 
SCR_InventoryStorageManagerComponent GetTargetInventory ()
 
protected InventoryStorageManagerComponent GetProviderInventory ()
 
protected override void ResetReferencesOnServer ()
 
protected override void DelayedInit (IEntity owner)
 
protected override string GetActionStringParam ()
 
SCR_BaseResupplySupportStationAction SCR_BaseUseSupportStationAction BaseContainerCustomStringTitleField ("DO NOT USE!")
 

Variables

protected ESupportStationType m_eSupportStationType
 
protected ref SCR_ResupplySupportStationData m_ResupplyData
 
protected int m_iMaxResupplyCount
 
protected LocalizedString m_sInvalidNoInventorySpace
 
protected LocalizedString m_sInvalidNotInStorage
 
protected ENotification m_eNotificationOnUse
 
protected SCR_InventoryStorageManagerComponent m_InventoryManagerTarget
 
protected EResupplyUnavailableReason m_eResupplyUnavailableReason
 
protected bool m_bCanResupply
 
protected ResourceName m_sItemToResupply
 
protected int m_iCurrentItemAmount = -1
 
const protected LocalizedString X_OUTOF_Y_FORMATTING = "#AR-SupportStation_ActionFormat_ItemAmount"
 
const protected LocalizedString CURRENT_ITEM_AMOUNT_FORMATTING = "#AR-SupportStation_ActionFormat_CurrentItemAmount"
 

Function Documentation

◆ BaseContainerCustomStringTitleField()

◆ BaseContainerProps()

◆ CanBePerformedScript()

override bool BaseContainerProps::CanBePerformedScript ( IEntity  user)

Definition at line 85 of file SCR_ResupplySupportStationAction.c.

◆ CanBePerformedUpdate()

protected override void BaseContainerProps::CanBePerformedUpdate ( IEntity  user)

Definition at line 116 of file SCR_ResupplySupportStationAction.c.

◆ CanBeShownScript()

override bool BaseContainerProps::CanBeShownScript ( IEntity  user)

Definition at line 76 of file SCR_ResupplySupportStationAction.c.

◆ CanHaveMultipleUsers()

protected override bool BaseContainerProps::CanHaveMultipleUsers ( )

Definition at line 70 of file SCR_ResupplySupportStationAction.c.

◆ DelayedInit()

protected override void BaseContainerProps::DelayedInit ( IEntity  owner)

Definition at line 193 of file SCR_ResupplySupportStationAction.c.

◆ GetActionStringParam()

protected override string BaseContainerProps::GetActionStringParam ( )

Definition at line 205 of file SCR_ResupplySupportStationAction.c.

◆ GetInvalidPerformReasonString()

protected override LocalizedString BaseContainerProps::GetInvalidPerformReasonString ( ESupportStationReasonInvalid  reasonInvalid)

Definition at line 38 of file SCR_ResupplySupportStationAction.c.

◆ GetItemToResupply()

ResourceName BaseContainerProps::GetItemToResupply ( )

Definition at line 124 of file SCR_ResupplySupportStationAction.c.

◆ GetNotificationOnUse()

ENotification BaseContainerProps::GetNotificationOnUse ( )

Definition at line 64 of file SCR_ResupplySupportStationAction.c.

◆ GetProviderInventory()

protected InventoryStorageManagerComponent BaseContainerProps::GetProviderInventory ( )

Definition at line 180 of file SCR_ResupplySupportStationAction.c.

◆ GetShowButDisabled()

protected bool BaseContainerProps::GetShowButDisabled ( )

Definition at line 52 of file SCR_ResupplySupportStationAction.c.

◆ GetSupportStationType()

protected override ESupportStationType BaseContainerProps::GetSupportStationType ( )

Definition at line 32 of file SCR_ResupplySupportStationAction.c.

◆ GetTargetInventory()

SCR_InventoryStorageManagerComponent BaseContainerProps::GetTargetInventory ( )

Definition at line 173 of file SCR_ResupplySupportStationAction.c.

◆ PerformAction()

override void BaseContainerProps::PerformAction ( IEntity  pOwnerEntity,
IEntity  pUserEntity 
)

Definition at line 160 of file SCR_ResupplySupportStationAction.c.

◆ ResetReferencesOnServer()

protected override void BaseContainerProps::ResetReferencesOnServer ( )

Definition at line 186 of file SCR_ResupplySupportStationAction.c.

◆ SetTargetInventory()

protected void BaseContainerProps::SetTargetInventory ( IEntity  user,
IEntity  owner 
)

Definition at line 167 of file SCR_ResupplySupportStationAction.c.

◆ UpdateCanResupply()

protected void BaseContainerProps::UpdateCanResupply ( IEntity  owner,
IEntity  user 
)

Definition at line 131 of file SCR_ResupplySupportStationAction.c.

Variable Documentation

◆ CURRENT_ITEM_AMOUNT_FORMATTING

const protected LocalizedString CURRENT_ITEM_AMOUNT_FORMATTING = "#AR-SupportStation_ActionFormat_CurrentItemAmount"

Definition at line 29 of file SCR_ResupplySupportStationAction.c.

◆ m_bCanResupply

protected bool m_bCanResupply

Definition at line 24 of file SCR_ResupplySupportStationAction.c.

◆ m_eNotificationOnUse

protected ENotification m_eNotificationOnUse

Definition at line 18 of file SCR_ResupplySupportStationAction.c.

◆ m_eResupplyUnavailableReason

protected EResupplyUnavailableReason m_eResupplyUnavailableReason

Definition at line 22 of file SCR_ResupplySupportStationAction.c.

◆ m_eSupportStationType

protected ESupportStationType m_eSupportStationType

Definition at line 3 of file SCR_ResupplySupportStationAction.c.

◆ m_iCurrentItemAmount

protected int m_iCurrentItemAmount = -1

Definition at line 26 of file SCR_ResupplySupportStationAction.c.

◆ m_iMaxResupplyCount

protected int m_iMaxResupplyCount

Definition at line 9 of file SCR_ResupplySupportStationAction.c.

◆ m_InventoryManagerTarget

protected SCR_InventoryStorageManagerComponent m_InventoryManagerTarget

Definition at line 20 of file SCR_ResupplySupportStationAction.c.

◆ m_ResupplyData

protected ref SCR_ResupplySupportStationData m_ResupplyData

Definition at line 6 of file SCR_ResupplySupportStationAction.c.

◆ m_sInvalidNoInventorySpace

protected LocalizedString m_sInvalidNoInventorySpace

Definition at line 12 of file SCR_ResupplySupportStationAction.c.

◆ m_sInvalidNotInStorage

protected LocalizedString m_sInvalidNotInStorage

Definition at line 15 of file SCR_ResupplySupportStationAction.c.

◆ m_sItemToResupply

protected ResourceName m_sItemToResupply

Definition at line 25 of file SCR_ResupplySupportStationAction.c.

◆ X_OUTOF_Y_FORMATTING

const protected LocalizedString X_OUTOF_Y_FORMATTING = "#AR-SupportStation_ActionFormat_ItemAmount"

Definition at line 28 of file SCR_ResupplySupportStationAction.c.