Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ResourceEntityRefundAction Class Reference
Inheritance diagram for SCR_ResourceEntityRefundAction:
SCR_ScriptedUserAction

Protected Member Functions

override void PerformAction (IEntity pOwnerEntity, IEntity pUserEntity)
override bool GetActionNameScript (out string outName)
override event bool CanBePerformedScript (IEntity user)
bool SelectSuitableResourceGenerator (IEntity user)
override event bool CanBeShownScript (IEntity user)
override event void Init (IEntity pOwnerEntity, GenericComponent pManagerComponent)
void DelayedInit (IEntity pOwnerEntity, GenericComponent pManagerComponent)

Static Protected Member Functions

static ScriptInvokerEntity2 GetOnRefundPerformed ()

Protected Attributes

EResourceType m_eResourceType
EResourceGeneratorID m_eGeneratorIdentifier
LocalizedString m_sNoSuppliesActionName
LocalizedString m_sInvalidNoValidRefundPoint
LocalizedString m_sInvalidIsOccupied
SCR_Faction m_Faction
SCR_EntityCatalogManagerComponent m_EntityCatalogManager
SCR_CatalogEntitySpawnerComponent m_CatalogEntitySpawnerComponent
RplComponent m_ReplicationComponent
SCR_ResourceGenerator m_ResourceGenerator
float m_fResourceCost = -1
bool m_bIsResourceEnabled = true
SCR_BaseCompartmentManagerComponent m_CompartmentManager

Static Protected Attributes

static ref ScriptInvokerEntity2 s_OnRefundPerformed

Detailed Description

Definition at line 1 of file SCR_ResourceEntityRefundAction.c.

Member Function Documentation

◆ CanBePerformedScript()

override event bool SCR_ResourceEntityRefundAction::CanBePerformedScript ( IEntity user)
inlineprotected

Definition at line 106 of file SCR_ResourceEntityRefundAction.c.

◆ CanBeShownScript()

override event bool SCR_ResourceEntityRefundAction::CanBeShownScript ( IEntity user)
inlineprotected

Definition at line 178 of file SCR_ResourceEntityRefundAction.c.

◆ DelayedInit()

void SCR_ResourceEntityRefundAction::DelayedInit ( IEntity pOwnerEntity,
GenericComponent pManagerComponent )
inlineprotected

Definition at line 202 of file SCR_ResourceEntityRefundAction.c.

◆ GetActionNameScript()

override bool SCR_ResourceEntityRefundAction::GetActionNameScript ( out string outName)
inlineprotected

Definition at line 72 of file SCR_ResourceEntityRefundAction.c.

◆ GetOnRefundPerformed()

ScriptInvokerEntity2 SCR_ResourceEntityRefundAction::GetOnRefundPerformed ( )
inlinestaticprotected

Get event called when player refunds some entity. Invoker params are: Entity refundedEntity, Entity playerEntity

Returns
ScriptInvokerEntity2

Definition at line 35 of file SCR_ResourceEntityRefundAction.c.

◆ Init()

override event void SCR_ResourceEntityRefundAction::Init ( IEntity pOwnerEntity,
GenericComponent pManagerComponent )
inlineprotected

Definition at line 195 of file SCR_ResourceEntityRefundAction.c.

◆ PerformAction()

override void SCR_ResourceEntityRefundAction::PerformAction ( IEntity pOwnerEntity,
IEntity pUserEntity )
inlineprotected

Definition at line 44 of file SCR_ResourceEntityRefundAction.c.

◆ SelectSuitableResourceGenerator()

bool SCR_ResourceEntityRefundAction::SelectSuitableResourceGenerator ( IEntity user)
inlineprotected

Finds and selects a suitable resource generator and return if it was found or not.

Returns
true if a resource generator was found, false otherwise.

Definition at line 137 of file SCR_ResourceEntityRefundAction.c.

Member Data Documentation

◆ m_bIsResourceEnabled

bool SCR_ResourceEntityRefundAction::m_bIsResourceEnabled = true
protected

Definition at line 25 of file SCR_ResourceEntityRefundAction.c.

◆ m_CatalogEntitySpawnerComponent

SCR_CatalogEntitySpawnerComponent SCR_ResourceEntityRefundAction::m_CatalogEntitySpawnerComponent
protected

Definition at line 20 of file SCR_ResourceEntityRefundAction.c.

◆ m_CompartmentManager

SCR_BaseCompartmentManagerComponent SCR_ResourceEntityRefundAction::m_CompartmentManager
protected

Definition at line 30 of file SCR_ResourceEntityRefundAction.c.

◆ m_eGeneratorIdentifier

EResourceGeneratorID SCR_ResourceEntityRefundAction::m_eGeneratorIdentifier
protected

Definition at line 7 of file SCR_ResourceEntityRefundAction.c.

◆ m_EntityCatalogManager

SCR_EntityCatalogManagerComponent SCR_ResourceEntityRefundAction::m_EntityCatalogManager
protected

Definition at line 19 of file SCR_ResourceEntityRefundAction.c.

◆ m_eResourceType

EResourceType SCR_ResourceEntityRefundAction::m_eResourceType
protected

Definition at line 4 of file SCR_ResourceEntityRefundAction.c.

◆ m_Faction

SCR_Faction SCR_ResourceEntityRefundAction::m_Faction
protected

Definition at line 18 of file SCR_ResourceEntityRefundAction.c.

◆ m_fResourceCost

float SCR_ResourceEntityRefundAction::m_fResourceCost = -1
protected

Definition at line 23 of file SCR_ResourceEntityRefundAction.c.

◆ m_ReplicationComponent

RplComponent SCR_ResourceEntityRefundAction::m_ReplicationComponent
protected

Definition at line 21 of file SCR_ResourceEntityRefundAction.c.

◆ m_ResourceGenerator

SCR_ResourceGenerator SCR_ResourceEntityRefundAction::m_ResourceGenerator
protected

Definition at line 22 of file SCR_ResourceEntityRefundAction.c.

◆ m_sInvalidIsOccupied

LocalizedString SCR_ResourceEntityRefundAction::m_sInvalidIsOccupied
protected

Definition at line 16 of file SCR_ResourceEntityRefundAction.c.

◆ m_sInvalidNoValidRefundPoint

LocalizedString SCR_ResourceEntityRefundAction::m_sInvalidNoValidRefundPoint
protected

Definition at line 13 of file SCR_ResourceEntityRefundAction.c.

◆ m_sNoSuppliesActionName

LocalizedString SCR_ResourceEntityRefundAction::m_sNoSuppliesActionName
protected

Definition at line 10 of file SCR_ResourceEntityRefundAction.c.

◆ s_OnRefundPerformed

ref ScriptInvokerEntity2 SCR_ResourceEntityRefundAction::s_OnRefundPerformed
staticprotected

Definition at line 27 of file SCR_ResourceEntityRefundAction.c.


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