Arma Reforger Script API
|
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. | |
![]() | |
bool | HasConstrainedGeneration () |
Returns true if the action has constrainted generation of resources. | |
override float SCR_ResourceGeneratorActionStore.ComputeGeneratedResources | ( | notnull SCR_ResourceGenerator | generator, |
float | resourceValue ) |
Returns the amount of possible generated resources.
[in] | generator | The generator that the action is being computed on. |
[in] | resourceValue | The resource value that is to be generated. |
Implements SCR_ResourceGeneratorActionBase.
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.
[in] | generator | The generator that the action is being performed on. |
[in,out] | resourceValue | The resource value that is to be used with the action. |
Implements SCR_ResourceGeneratorActionBase.