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_ChatChannel.c
Go to the documentation of this file.
1
//------------------------------------------------------------------------------------------------
2
[
EntityEditorProps
(
category
:
"GameScripted/Channels"
, description:
"Channel Manager"
, color:
"0 0 255 255"
)]
3
4
//TODO: Probably remove this class for now
5
class
SCR_ChatChannel
:
BaseChatChannel
6
{
7
[
Attribute
(
""
, uiwidget:
UIWidgets
.EditBox,
desc
:
"Id"
)]
8
int
m_iId;
9
[
Attribute
(
"#AR-Chat_CannotAccessChannel"
, uiwidget:
UIWidgets
.EditBox,
desc
:
"Default message for channel warning"
)]
10
string
m_sWarningMessage;
11
[
Attribute
(
"1"
,
UIWidgets
.CheckBox,
"Enables/disables channel for script functionality"
)]
12
bool
m_bChannelEnabled;
13
14
//------------------------------------------------------------------------------------------------
15
// TODO: Remove this. Channel is not responsible for this.
16
bool
IsChannelEnabled()
17
{
18
return
m_bChannelEnabled;
19
}
20
21
22
// TODO: Remove this. Channels are all enabled by default now. Disabling them on player side
23
// could be done by the channel itself
24
//------------------------------------------------------------------------------------------------
25
int
GetID()
26
{
27
return
m_iId;
28
}
29
30
//------------------------------------------------------------------------------------------------
31
// If there is some warning needed, just hardcode it in SCR_Chat for now.
32
// With some comment to make it more generic in next iteration
33
string
GetWarningMessage()
34
{
35
return
m_sWarningMessage;
36
}
37
38
};
EntityEditorProps
enum SCR_ECompassType EntityEditorProps(category:"GameScripted/Gadgets", description:"Compass", color:"0 0 255 255")
Prefab data class for compass component.
Definition
SCR_CompassComponent.c:10
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
category
params category
Definition
SCR_VehicleDamageManagerComponent.c:302
BaseChatChannel
Definition
BaseChatChannel.c:13
SCR_ChatChannel
Definition
SCR_ChatChannel.c:6
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Chat
SCR_ChatChannel.c
Generated by
1.17.0