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_WeaponAttachmentObstructionAttributes.c
Go to the documentation of this file.
1
class
SCR_WeaponAttachmentObstructionAttributes
:
WeaponAttachmentAttributes
2
{
3
[
Attribute
(
desc
:
"Types of attachments that cannot be mounted at the same time as this one"
)]
4
protected
ref array<ref BaseAttachmentType>
m_aObstructedAttachmentTypes
;
5
6
[
Attribute
(
desc
:
"Types of attachments required for this one to be attachable e.g. M9 Bayonet requires A2 flash hider for mounting"
)]
7
protected
ref array<ref BaseAttachmentType>
m_aRequiredAttachmentTypes
;
8
9
//------------------------------------------------------------------------------------------------
10
set<typename>
GetObstructedAttachmentTypes
()
11
{
12
set<typename> types();
13
foreach
(
BaseAttachmentType
obstructedType :
m_aObstructedAttachmentTypes
)
14
{
15
types.Insert(obstructedType.Type());
16
}
17
18
return
types;
19
}
20
21
//------------------------------------------------------------------------------------------------
22
set<typename>
GetRequiredAttachmentTypes
()
23
{
24
set<typename> types();
25
foreach
(
BaseAttachmentType
requiredType :
m_aRequiredAttachmentTypes
)
26
{
27
types.Insert(requiredType.Type());
28
}
29
30
return
types;
31
}
32
}
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
BaseAttachmentType
Definition
BaseAttachmentType.c:13
SCR_WeaponAttachmentObstructionAttributes
Definition
SCR_WeaponAttachmentObstructionAttributes.c:2
SCR_WeaponAttachmentObstructionAttributes::m_aObstructedAttachmentTypes
ref array< ref BaseAttachmentType > m_aObstructedAttachmentTypes
Definition
SCR_WeaponAttachmentObstructionAttributes.c:4
SCR_WeaponAttachmentObstructionAttributes::GetRequiredAttachmentTypes
set< typename > GetRequiredAttachmentTypes()
Definition
SCR_WeaponAttachmentObstructionAttributes.c:22
SCR_WeaponAttachmentObstructionAttributes::GetObstructedAttachmentTypes
set< typename > GetObstructedAttachmentTypes()
Definition
SCR_WeaponAttachmentObstructionAttributes.c:10
SCR_WeaponAttachmentObstructionAttributes::m_aRequiredAttachmentTypes
ref array< ref BaseAttachmentType > m_aRequiredAttachmentTypes
Definition
SCR_WeaponAttachmentObstructionAttributes.c:7
WeaponAttachmentAttributes
Definition
WeaponAttachmentAttributes.c:13
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Inventory
SCR_WeaponAttachmentObstructionAttributes.c
Generated by
1.17.0