Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_CampaignBuildingCooldownWithRankBudgetToEvaluateData Interface Reference
Inheritance diagram for SCR_CampaignBuildingCooldownWithRankBudgetToEvaluateData:
[legend]

Public Member Functions

override int CooldownTimeModifier (int playerId, int originalCooldown)
 Modify the cooldown time based on the player rank.
 
int CooldownTimeModifier (int playerId, int originalCooldown)
 In this method the cooldown time can be modified in inherited classes.
 
- Public Member Functions inherited from SCR_CampaignBuildingBudgetToEvaluateData
bool CanBeUsed ()
 To be overridden in inherited classes, allow to set an additional custom condition to usage of the budget. For an example only with specific game mode etc.
 
EEditableEntityBudget GetBudget ()
 
bool UseMasterProviderBudget ()
 Should be used the budget of master provider.
 
bool CanShowBudgetInUI ()
 Should be this budget shown in UI.
 

Protected Attributes

ref array< ref SCR_CooldownDatam_aCustomCooldownData
 
- Protected Attributes inherited from SCR_CampaignBuildingBudgetToEvaluateData
EEditableEntityBudget m_eBudget
 
bool m_bUseMasterProviderBudget
 
bool m_bShowBudgetInUI
 

Member Function Documentation

◆ CooldownTimeModifier()

override int SCR_CampaignBuildingCooldownWithRankBudgetToEvaluateData.CooldownTimeModifier ( int  playerId,
int  originalCooldown 
)

Modify the cooldown time based on the player rank.

Implements SCR_CampaignBuildingCooldownBudgetToEvaluateData.

Member Data Documentation

◆ m_aCustomCooldownData

ref array<ref SCR_CooldownData> SCR_CampaignBuildingCooldownWithRankBudgetToEvaluateData.m_aCustomCooldownData
protected

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