Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_FieldManualPiece.c
Go to the documentation of this file.
1[BaseContainerProps(insertable: false)]
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))]
6
7 //------------------------------------------------------------------------------------------------
10 // To be overridden by child pieces
11 void CreateWidget(notnull Widget parent);
12
13 //------------------------------------------------------------------------------------------------
17 {
18 // I am very proud of this ugly one-liner (that is technically a two-liner)
20 GetGame().GetInputManager().IsUsingMouseAndKeyboard() == (m_eInputDisplayCondition == SCR_EInputTypeCondition.KEYBOARD_ONLY);
21 }
22
23 //------------------------------------------------------------------------------------------------
27 {
29 }
30}
ArmaReforgerScripted GetGame()
Definition game.c:1398
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
SCR_EInputTypeCondition
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
void CreateWidget(notnull Widget parent)
SCR_EInputTypeCondition m_eInputDisplayCondition
SCR_FieldOfViewSettings Attribute