Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
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 EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
Definition:
SCR_AmbientSoundsComponent.c:12
SCR_ChatChannel
Definition:
SCR_ChatChannel.c:5
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition:
SCR_RespawnBriefingComponent.c:17
Attribute
typedef Attribute
Post-process effect of scripted camera.
BaseChatChannel
Definition:
BaseChatChannel.c:12
category
params category
Definition:
SCR_VehicleDamageManagerComponent.c:180
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Chat
SCR_ChatChannel.c
Generated by
1.8.17