Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_WeaponAttachmentObstructionAttributes.c
Go to the documentation of this file.
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 //------------------------------------------------------------------------------------------------
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 //------------------------------------------------------------------------------------------------
23 {
24 set<typename> types();
25 foreach (BaseAttachmentType requiredType : m_aRequiredAttachmentTypes)
26 {
27 types.Insert(requiredType.Type());
28 }
29
30 return types;
31 }
32}
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_FieldOfViewSettings Attribute