Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_CommanderAdditionalXPRewardInfo.c
Go to the documentation of this file.
1
[
BaseContainerProps
(),
SCR_BaseContainerCustomTitleEnum
(
SCR_EXPRewards
,
"m_eRewardID"
)]
2
class
SCR_CommanderAdditionalXPRewardInfo
:
SCR_XPRewardInfo
3
{
4
[
Attribute
(
"0.1"
,
UIWidgets
.EditBox,
params
:
"0 1 0.01"
,
desc
:
"What fraction of gained player XP should the Commander be awarded."
)]
5
protected
float
m_fRewardXPAmountFraction
;
6
7
[
Attribute
(
SCR_EXPRewards
.UNDEFINED.ToString(), uiwidget:
UIWidgets
.ComboBox,
desc
:
"List of XP awards that should award a fraction of gained XP to Commander."
, enumType:
SCR_EXPRewards
)]
8
protected
ref array<SCR_EXPRewards>
m_aRewardList
;
9
10
//------------------------------------------------------------------------------------------------
11
float
GetRewardXPAmountFraction
()
12
{
13
return
m_fRewardXPAmountFraction
;
14
}
15
16
//------------------------------------------------------------------------------------------------
19
bool
IsXPRewardListed
(
SCR_EXPRewards
rewardId)
20
{
21
return
m_aRewardList
.Contains(rewardId);
22
}
23
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition
SCR_CampaignHintStorage.c:22
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
params
category params
Definition
SCR_SpherePointGeneratorPreviewComponent.c:21
SCR_EXPRewards
SCR_EXPRewards
Definition
SCR_XPHandlerComponent.c:826
SCR_CommanderAdditionalXPRewardInfo
Definition
SCR_CommanderAdditionalXPRewardInfo.c:3
SCR_CommanderAdditionalXPRewardInfo::GetRewardXPAmountFraction
float GetRewardXPAmountFraction()
Definition
SCR_CommanderAdditionalXPRewardInfo.c:11
SCR_CommanderAdditionalXPRewardInfo::m_fRewardXPAmountFraction
float m_fRewardXPAmountFraction
Definition
SCR_CommanderAdditionalXPRewardInfo.c:5
SCR_CommanderAdditionalXPRewardInfo::m_aRewardList
ref array< SCR_EXPRewards > m_aRewardList
Definition
SCR_CommanderAdditionalXPRewardInfo.c:8
SCR_CommanderAdditionalXPRewardInfo::IsXPRewardListed
bool IsXPRewardListed(SCR_EXPRewards rewardId)
Definition
SCR_CommanderAdditionalXPRewardInfo.c:19
SCR_XPRewardInfo
Config template for XP rewards.
Definition
SCR_CampaignXPRewardList.c:5
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
FactionCommander
SCR_CommanderAdditionalXPRewardInfo.c
Generated by
1.17.0