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_KickDialogUiPreset.c
Go to the documentation of this file.
1
2
3
//---------------------------------------------------------------------------------------------
4
[
BaseContainerProps
(),
SCR_KickDialogCutomTitle
()]
5
class
SCR_KickDialogUiPreset
:
SCR_ConfigurableDialogUiPreset
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
//------------------------------------------------------------------------------------------------
15
class
SCR_KickDialogCutomTitle
:
BaseContainerCustomTitle
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
};
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
index
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Definition
SCR_DestructionSynchronizationComponent.c:17
BaseContainerCustomTitle
Definition
BaseContainerCustomTitle.c:35
BaseContainer
Definition
BaseContainer.c:13
SCR_ConfigurableDialogUiPreset
Configuration for a dialog.
Definition
SCR_ConfigurableDialogUI.c:764
SCR_KickDialogCutomTitle
Definition
SCR_KickDialogUiPreset.c:16
SCR_KickDialogUiPreset
Server kick message specific dialog.
Definition
SCR_KickDialogUiPreset.c:6
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
UI
Menu
Dialogs
SCR_KickDialogUiPreset.c
Generated by
1.17.0