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_PlatformGridOverride.c
Go to the documentation of this file.
1
class
SCR_PlatformGridOverride
:
ScriptedWidgetComponent
2
{
3
[
Attribute
(uiwidget:
UIWidgets
.Flags, enums: ParamEnumArray.FromEnum(
SCR_EPlatform
))]
4
private
SCR_EPlatform
m_eOverrideOnPlatform;
5
6
[
Attribute
(
"1"
,
params
:
"1 inf"
)]
7
protected
int
m_iColumnSpan
;
8
9
[
Attribute
(
"1"
,
params
:
"1 inf"
)]
10
protected
int
m_iRowSpan
;
11
12
//------------------------------------------------------------------------------------------------
13
override
void
HandlerAttached
(
Widget
w)
14
{
15
// Get current Platform in EPlatform enum
16
EPlatform
currentPlatform =
System
.GetPlatform();
17
18
if
((m_eOverrideOnPlatform & (1 << currentPlatform)) != (1 << currentPlatform))
19
return
;
20
21
GridSlot
.SetColumnSpan(w,
m_iColumnSpan
);
22
GridSlot
.SetRowSpan(w,
m_iRowSpan
);
23
}
24
}
SCR_EPlatform
SCR_EPlatform
Definition
SCR_HideWidgetPlatformBased.c:2
params
category params
Definition
SCR_SpherePointGeneratorPreviewComponent.c:21
GridSlot
Definition
GridSlot.c:13
SCR_PlatformGridOverride
Definition
SCR_PlatformGridOverride.c:2
SCR_PlatformGridOverride::m_iColumnSpan
int m_iColumnSpan
Definition
SCR_PlatformGridOverride.c:7
SCR_PlatformGridOverride::HandlerAttached
override void HandlerAttached(Widget w)
Definition
SCR_PlatformGridOverride.c:13
SCR_PlatformGridOverride::m_iRowSpan
int m_iRowSpan
Definition
SCR_PlatformGridOverride.c:10
ScriptedWidgetComponent
Definition
ScriptedWidgetComponent.c:13
System
Definition
System.c:13
UIWidgets
Definition
attributes.c:40
Widget
Definition
Widget.c:13
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
EPlatform
EPlatform
Definition
EPlatform.c:13
scripts
Game
UI
Components
MainMenu
SCR_PlatformGridOverride.c
Generated by
1.17.0