Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_KickDialogUiPreset.c
Go to the documentation of this file.
1
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
};
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_ConfigurableDialogUiPreset
Configuration for a dialog.
Definition:
SCR_ConfigurableDialogUI.c:809
index
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Definition:
SCR_DestructionSynchronizationComponent.c:17
SCR_KickDialogUiPreset
Server kick message specific dialog.
Definition:
SCR_KickDialogUiPreset.c:5
SCR_KickDialogCutomTitle
Definition:
SCR_KickDialogUiPreset.c:15
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition:
SCR_AIGoalReaction.c:468
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
UI
Menu
Dialogs
SCR_KickDialogUiPreset.c
Generated by
1.8.17