Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_XPRewardInfo Interface Reference

Config template for XP rewards. More...

Inheritance diagram for SCR_XPRewardInfo:
SCR_CommanderAdditionalXPRewardInfo

Public Member Functions

SCR_EXPRewards GetRewardID ()
 
string GetRewardName ()
 
int GetRewardXP ()
 
bool CanUseRewardCooldown ()
 return true if player can use cooldown for this reward type
 
float GetRewardCooldown ()
 return reward cooldown [s]
 
bool AllowNotification ()
 

Protected Attributes

SCR_EXPRewards m_eRewardID
 
string m_sRewardName
 
int m_iRewardXP
 
bool m_bAllowNotification
 
bool m_bUseRewardCooldown
 
float m_fRewardCooldown
 

Detailed Description

Config template for XP rewards.

Member Function Documentation

◆ AllowNotification()

bool SCR_XPRewardInfo.AllowNotification ( )

◆ CanUseRewardCooldown()

bool SCR_XPRewardInfo.CanUseRewardCooldown ( )

return true if player can use cooldown for this reward type

◆ GetRewardCooldown()

float SCR_XPRewardInfo.GetRewardCooldown ( )

return reward cooldown [s]

◆ GetRewardID()

SCR_EXPRewards SCR_XPRewardInfo.GetRewardID ( )

◆ GetRewardName()

string SCR_XPRewardInfo.GetRewardName ( )

◆ GetRewardXP()

int SCR_XPRewardInfo.GetRewardXP ( )

Member Data Documentation

◆ m_bAllowNotification

bool SCR_XPRewardInfo.m_bAllowNotification
protected

◆ m_bUseRewardCooldown

bool SCR_XPRewardInfo.m_bUseRewardCooldown
protected

◆ m_eRewardID

SCR_EXPRewards SCR_XPRewardInfo.m_eRewardID
protected

◆ m_fRewardCooldown

float SCR_XPRewardInfo.m_fRewardCooldown
protected

◆ m_iRewardXP

int SCR_XPRewardInfo.m_iRewardXP
protected

◆ m_sRewardName

string SCR_XPRewardInfo.m_sRewardName
protected

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