Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_KickDialogUiPreset.c
Go to the documentation of this file.
1
2
3//---------------------------------------------------------------------------------------------
6{
7 [Attribute("true", UIWidgets.CheckBox, "If true server browser will attempt to find last server to reconnect")]
8 bool m_bCanBeReconnected;
9
10 [Attribute("10")]
11 int m_iAutomaticReconnectTime;
12};
13
14//------------------------------------------------------------------------------------------------
16{
17 //------------------------------------------------------------------------------------------------
18 override bool _WB_GetCustomTitle(BaseContainer source, out string title)
19 {
20 // Make sure variable exists
21 int index = source.GetVarIndex("m_sTag");
22 if (index == -1)
23 return false;
24
25 // Tag string
26 string tag = "";
27 source.Get("m_sTag", tag);
28
29 source.Get("m_sAction", title);
30
31 // Enabled string
32 bool canReconnect;
33 source.Get("m_bCanBeReconnected", canReconnect);
34
35 string typeStr = "show";
36 if (canReconnect)
37 typeStr = "reconnect";
38
39 // Setup title string
40 title = string.Format("%1 (type: %2)", tag, typeStr);
41 return true;
42 }
43};
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Server kick message specific dialog.
SCR_FieldOfViewSettings Attribute