Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ResourceGeneratorActionStore Interface Reference
Inheritance diagram for SCR_ResourceGeneratorActionStore:
SCR_ResourceGeneratorActionBase

Public Member Functions

override float ComputeGeneratedResources (notnull SCR_ResourceGenerator generator, float resourceValue)
 Returns the amount of possible generated resources.
 
override void PerformAction (notnull SCR_ResourceGenerator generator, inout float resourceValue)
 Performs the action for generation of resources.
 
- Public Member Functions inherited from SCR_ResourceGeneratorActionBase
bool HasConstrainedGeneration ()
 Returns true if the action has constrainted generation of resources.
 

Member Function Documentation

◆ ComputeGeneratedResources()

override float SCR_ResourceGeneratorActionStore.ComputeGeneratedResources ( notnull SCR_ResourceGenerator generator,
float resourceValue )

Returns the amount of possible generated resources.

Parameters
[in]generatorThe generator that the action is being computed on.
[in]resourceValueThe resource value that is to be generated.

Implements SCR_ResourceGeneratorActionBase.

◆ PerformAction()

override void SCR_ResourceGeneratorActionStore.PerformAction ( notnull SCR_ResourceGenerator generator,
inout float resourceValue )

Performs the action for generation of resources.

Override this method in order to decide how to generate resources.

Parameters
[in]generatorThe generator that the action is being performed on.
[in,out]resourceValueThe resource value that is to be used with the action.

Implements SCR_ResourceGeneratorActionBase.


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