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_FieldManualPiece.c
Go to the documentation of this file.
1
[
BaseContainerProps
(insertable:
false
)]
2
class
SCR_FieldManualPiece
3
{
4
[
Attribute
(defvalue:
SCR_EInputTypeCondition
.ALL_INPUTS.ToString(), uiwidget:
UIWidgets
.ComboBox,
desc
:
"Define if this piece should be displayed for keyboard users, gamepad users or both"
, enums: ParamEnumArray.FromEnum(
SCR_EInputTypeCondition
))]
5
protected
SCR_EInputTypeCondition
m_eInputDisplayCondition
;
6
7
//------------------------------------------------------------------------------------------------
10
// To be overridden by child pieces
11
void
CreateWidget
(notnull
Widget
parent);
12
13
//------------------------------------------------------------------------------------------------
16
bool
CanCreateWidget
()
17
{
18
// I am very proud of this ugly one-liner (that is technically a two-liner)
19
return
m_eInputDisplayCondition
==
SCR_EInputTypeCondition
.ALL_INPUTS ||
20
GetGame
().GetInputManager().IsUsingMouseAndKeyboard() == (
m_eInputDisplayCondition
==
SCR_EInputTypeCondition
.KEYBOARD_ONLY);
21
}
22
23
//------------------------------------------------------------------------------------------------
26
bool
CanRefresh
()
27
{
28
return
m_eInputDisplayCondition
!=
SCR_EInputTypeCondition
.ALL_INPUTS;
29
}
30
}
GetGame
ArmaReforgerScripted GetGame()
Definition
game.c:1398
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_EInputTypeCondition
SCR_EInputTypeCondition
Definition
SCR_EInputTypeCondition.c:2
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
SCR_FieldManualPiece
Definition
SCR_FieldManualPiece.c:3
SCR_FieldManualPiece::CanRefresh
bool CanRefresh()
Definition
SCR_FieldManualPiece.c:26
SCR_FieldManualPiece::CreateWidget
void CreateWidget(notnull Widget parent)
SCR_FieldManualPiece::CanCreateWidget
bool CanCreateWidget()
Definition
SCR_FieldManualPiece.c:16
SCR_FieldManualPiece::m_eInputDisplayCondition
SCR_EInputTypeCondition m_eInputDisplayCondition
Definition
SCR_FieldManualPiece.c:5
UIWidgets
Definition
attributes.c:40
Widget
Definition
Widget.c:13
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
FieldManual
Models
Pieces
SCR_FieldManualPiece.c
Generated by
1.17.0