Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_VotingAutoKick.c
Go to the documentation of this file.
1
//~ A kick voting that can only be initiated by system never started manualing by player
2
[
BaseContainerProps
(configRoot:
true
),
SCR_BaseContainerCustomTitleEnum
(
EVotingType
,
"m_Type"
)]
3
class
SCR_VotingAutoKick
:
SCR_VotingKick
4
{
5
//------------------------------------------------------------------------------------------------
6
override
bool
IsAvailable(
int
value,
bool
isOngoing)
7
{
8
//~ Voting is only available when ongoing as only the system can start the voting process. Not players manually
9
if
(!isOngoing)
10
return
false
;
11
12
return
super.IsAvailable(value, isOngoing);
13
}
14
}
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition:
SCR_CampaignHintStorage.c:22
SCR_VotingAutoKick
Definition:
SCR_VotingAutoKick.c:3
EVotingType
EVotingType
Definition:
EVotingType.c:1
SCR_VotingKick
Definition:
SCR_VotingKick.c:2
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition:
SCR_AIGoalReaction.c:468
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Components
Voting
SCR_VotingAutoKick.c
Generated by
1.8.17