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

Go to the source code of this file.

Enumerations

enum  EResourceReason { SUFFICIENT, INSUFICIENT, UNAVAILABLE }
 

Functions

void SCR_ResourceConsumtionResponse (float availableResource=0, float resourceMultiplier=0, float range=0, EResourceReason reasonCode=EResourceReason.UNAVAILABLE)
 
float GetAvailableSupply ()
 
float GetResourceMultiplier ()
 
float GetRange ()
 
EResourceReason GetReason ()
 
void SetAvailableResource (float availableResource)
 
void SetResourceMultiplier (float resourceMultiplier)
 
void SetRange (float range)
 
void SetReason (EResourceReason reasonCode)
 

Variables

enum EResourceReason m_fAvailableResource
 
protected float m_fResourceMultiplier
 
protected float m_fRange
 
protected EResourceReason m_eReason
 

Enumeration Type Documentation

◆ EResourceReason

Enumerator
SUFFICIENT 
INSUFICIENT 
UNAVAILABLE 

Definition at line 1 of file SCR_ResourceConsumtionResponse.c.

Function Documentation

◆ GetAvailableSupply()

float GetAvailableSupply ( )

Definition at line 26 of file SCR_ResourceConsumtionResponse.c.

◆ GetRange()

float GetRange ( )

Definition at line 38 of file SCR_ResourceConsumtionResponse.c.

◆ GetReason()

EResourceReason GetReason ( )

Definition at line 44 of file SCR_ResourceConsumtionResponse.c.

◆ GetResourceMultiplier()

float GetResourceMultiplier ( )

Definition at line 32 of file SCR_ResourceConsumtionResponse.c.

◆ SCR_ResourceConsumtionResponse()

void SCR_ResourceConsumtionResponse ( float  availableResource = 0,
float  resourceMultiplier = 0,
float  range = 0,
EResourceReason  reasonCode = EResourceReason.UNAVAILABLE 
)

Definition at line 17 of file SCR_ResourceConsumtionResponse.c.

◆ SetAvailableResource()

void SetAvailableResource ( float  availableResource)

Definition at line 50 of file SCR_ResourceConsumtionResponse.c.

◆ SetRange()

void SetRange ( float  range)

Definition at line 62 of file SCR_ResourceConsumtionResponse.c.

◆ SetReason()

void SetReason ( EResourceReason  reasonCode)

Definition at line 68 of file SCR_ResourceConsumtionResponse.c.

◆ SetResourceMultiplier()

void SetResourceMultiplier ( float  resourceMultiplier)

Definition at line 56 of file SCR_ResourceConsumtionResponse.c.

Variable Documentation

◆ m_eReason

protected EResourceReason m_eReason

Definition at line 14 of file SCR_ResourceConsumtionResponse.c.

◆ m_fAvailableResource

enum EResourceReason m_fAvailableResource

◆ m_fRange

protected float m_fRange

Definition at line 13 of file SCR_ResourceConsumtionResponse.c.

◆ m_fResourceMultiplier

protected float m_fResourceMultiplier

Definition at line 12 of file SCR_ResourceConsumtionResponse.c.