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

TODO MARIO: Rework this class to work with multiple containers!!. More...

Inheritance diagram for SCR_ResourceContainerStoreAction:
ScriptedUserAction

Protected Member Functions

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

Protected Attributes

EResourceType m_eResourceType
SCR_ResourceGenerator m_ResourceGenerator
SCR_ResourceConsumer m_ResourceConsumer
float m_fMaxStoredResource
float m_fCurrentResource

Detailed Description

TODO MARIO: Rework this class to work with multiple containers!!.

Definition at line 2 of file SCR_ResourceContainerStoreAction.c.

Member Function Documentation

◆ CanBePerformedScript()

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

Definition at line 63 of file SCR_ResourceContainerStoreAction.c.

◆ GetActionNameScript()

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

Definition at line 42 of file SCR_ResourceContainerStoreAction.c.

◆ Init()

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

Definition at line 92 of file SCR_ResourceContainerStoreAction.c.

◆ PerformAction()

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

Definition at line 14 of file SCR_ResourceContainerStoreAction.c.

Member Data Documentation

◆ m_eResourceType

EResourceType SCR_ResourceContainerStoreAction::m_eResourceType
protected

Definition at line 5 of file SCR_ResourceContainerStoreAction.c.

◆ m_fCurrentResource

float SCR_ResourceContainerStoreAction::m_fCurrentResource
protected

Definition at line 11 of file SCR_ResourceContainerStoreAction.c.

◆ m_fMaxStoredResource

float SCR_ResourceContainerStoreAction::m_fMaxStoredResource
protected

Definition at line 10 of file SCR_ResourceContainerStoreAction.c.

◆ m_ResourceConsumer

SCR_ResourceConsumer SCR_ResourceContainerStoreAction::m_ResourceConsumer
protected

Definition at line 9 of file SCR_ResourceContainerStoreAction.c.

◆ m_ResourceGenerator

SCR_ResourceGenerator SCR_ResourceContainerStoreAction::m_ResourceGenerator
protected

Definition at line 8 of file SCR_ResourceContainerStoreAction.c.


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