Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_VONEntry.c
Go to the documentation of this file.
1
//------------------------------------------------------------------------------------------------
3
class
SCR_VONEntry
:
SCR_SelectionMenuEntry
4
{
5
protected
bool
m_bIsUsable =
true
;
// whether this entry is allowed to be used (f.e. radio turned off)
6
protected
bool
m_bIsActive;
// this entry will be used in case of outgoing transmission
7
protected
bool
m_bIsSelected;
// this entry is currently selected/hovered in a menu
8
protected
string
m_sText;
// current display text
9
10
//------------------------------------------------------------------------------------------------
11
// Init entry data
12
void
InitEntry()
13
{}
14
15
//------------------------------------------------------------------------------------------------
17
void
SetUsable(
bool
state)
18
{
19
m_bIsUsable = state;
20
}
21
22
//------------------------------------------------------------------------------------------------
24
bool
IsUsable()
25
{
26
return
m_bIsUsable;
27
}
28
29
//------------------------------------------------------------------------------------------------
31
void
SetActive(
bool
state)
32
{
33
m_bIsActive
= state;
34
}
35
36
//------------------------------------------------------------------------------------------------
38
bool
IsActive()
39
{
40
return
m_bIsActive
;
41
}
42
43
//------------------------------------------------------------------------------------------------
45
void
SetSelected(
bool
state)
46
{
47
m_bIsSelected = state;
48
}
49
50
//------------------------------------------------------------------------------------------------
53
void
AdjustEntry(
int
modifier)
54
{}
55
56
//------------------------------------------------------------------------------------------------
59
void
AdjustEntryModif(
int
modifier)
60
{}
61
62
//------------------------------------------------------------------------------------------------
64
void
ToggleEntry()
65
{}
66
67
//------------------------------------------------------------------------------------------------
69
string
GetDisplayText()
70
{
71
return
m_sText
;
72
}
73
74
//------------------------------------------------------------------------------------------------
76
string
GetIconResource()
77
{
78
return
string
.Empty;
79
}
80
81
//------------------------------------------------------------------------------------------------
83
ECommMethod
GetVONMethod()
84
{
85
return
ECommMethod
.DIRECT;
86
}
87
88
//------------------------------------------------------------------------------------------------
90
override
void
Update()
91
{
92
}
93
};
SCR_SelectionMenuEntry
Definition:
SCR_SelectionMenuEntry.c:7
m_bIsActive
SCR_HintSequenceComponentClass m_bIsActive
ECommMethod
ECommMethod
Definition:
ECommMethod.c:7
SCR_VONEntry
Voice over network entry data class, used for management of communication methods.
Definition:
SCR_VONEntry.c:3
m_sText
class SCR_BaseEditorAttribute m_sText
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
VON
SCR_VONEntry.c
Generated by
1.8.17