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_GroupRolePresetConfig.c
Go to the documentation of this file.
1
[
BaseContainerProps
()]
2
class
SCR_GroupRolePresetConfig
:
SCR_GroupPreset
3
{
4
[
Attribute
(
desc
:
"Localized group role"
)]
5
protected
LocalizedString
m_sGroupRoleName
;
6
7
[
Attribute
(defvalue:
""
, uiwidget:
UIWidgets
.ResourceNamePicker,
params
:
"et"
,
desc
:
"Playable loadouts in preset. This loadout prefabs must be also set in loadout manager"
)]
8
protected
ref array<ResourceName>
m_aLoadoutResources
;
9
10
[
Attribute
(defvalue:
"1"
,
desc
:
"Player can create this group, if false it will be not visible in create group menu"
)]
11
protected
bool
m_bCanBeCreatedByPlayer
;
12
13
[
Attribute
(defvalue:
"1"
,
desc
:
"Can player join to group, if false, join button will be disabled, join requests cannot be sent to the group"
)]
14
protected
bool
m_bCanPlayerJoin
;
15
16
//------------------------------------------------------------------------------------------------
18
LocalizedString
GetGroupRoleName
()
19
{
20
return
m_sGroupRoleName
;
21
}
22
23
//------------------------------------------------------------------------------------------------
26
bool
IsLoadoutInGroup
(notnull
SCR_FactionPlayerLoadout
loadout
)
27
{
28
return
m_aLoadoutResources
.Contains(
loadout
.GetDefaultLoadoutResource());
29
}
30
31
//------------------------------------------------------------------------------------------------
34
bool
CanBeCreatedByPlayer
()
35
{
36
return
m_bCanBeCreatedByPlayer
;
37
}
38
39
//------------------------------------------------------------------------------------------------
42
bool
CanPlayerJoin
()
43
{
44
return
m_bCanPlayerJoin
;
45
}
46
47
//------------------------------------------------------------------------------------------------
48
array<ResourceName>
GetLoadouts
()
49
{
50
array<ResourceName> loadouts = {};
51
loadouts.Copy(
m_aLoadoutResources
);
52
53
return
loadouts;
54
}
55
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
loadout
string loadout
Definition
SCR_ArsenalManagerComponent.c:0
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
params
category params
Definition
SCR_SpherePointGeneratorPreviewComponent.c:21
LocalizedString
Definition
LocalizedString.c:22
SCR_FactionPlayerLoadout
Definition
SCR_PlayerFactionLoadout.c:3
SCR_GroupPreset
Definition
SCR_GroupPreset.c:3
SCR_GroupRolePresetConfig
Definition
SCR_GroupRolePresetConfig.c:3
SCR_GroupRolePresetConfig::GetLoadouts
array< ResourceName > GetLoadouts()
Definition
SCR_GroupRolePresetConfig.c:48
SCR_GroupRolePresetConfig::IsLoadoutInGroup
bool IsLoadoutInGroup(notnull SCR_FactionPlayerLoadout loadout)
Definition
SCR_GroupRolePresetConfig.c:26
SCR_GroupRolePresetConfig::m_sGroupRoleName
LocalizedString m_sGroupRoleName
Definition
SCR_GroupRolePresetConfig.c:5
SCR_GroupRolePresetConfig::m_bCanPlayerJoin
bool m_bCanPlayerJoin
Definition
SCR_GroupRolePresetConfig.c:14
SCR_GroupRolePresetConfig::CanPlayerJoin
bool CanPlayerJoin()
Definition
SCR_GroupRolePresetConfig.c:42
SCR_GroupRolePresetConfig::CanBeCreatedByPlayer
bool CanBeCreatedByPlayer()
Definition
SCR_GroupRolePresetConfig.c:34
SCR_GroupRolePresetConfig::m_bCanBeCreatedByPlayer
bool m_bCanBeCreatedByPlayer
Definition
SCR_GroupRolePresetConfig.c:11
SCR_GroupRolePresetConfig::m_aLoadoutResources
ref array< ResourceName > m_aLoadoutResources
Definition
SCR_GroupRolePresetConfig.c:8
SCR_GroupRolePresetConfig::GetGroupRoleName
LocalizedString GetGroupRoleName()
Definition
SCR_GroupRolePresetConfig.c:18
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Groups
SCR_GroupRolePresetConfig.c
Generated by
1.17.0