Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
ScriptedChatEntity.c
Go to the documentation of this file.
1
// Current state of the chat:
2
// - There is no reliable way how to know that messagebox is visible
3
// This is a problem with browsing history
4
5
class
ScriptedChatEntityClass
:
BaseChatEntityClass
6
{
7
};
8
9
class
ScriptedChatEntity : BaseChatEntity
10
{
11
//------------------------------------------------------------------------------------------------
12
void
ScriptedChatEntity(
IEntitySource
src,
IEntity
parent)
13
{
14
SetEventMask(
EntityEvent
.INIT |
EntityEvent
.FRAME);
15
}
16
17
18
//------------------------------------------------------------------------------------------------
19
int
GetChannelId(
BaseChatChannel
channel)
20
{
21
int
count =
GetChannelsCount
();
22
23
for
(
int
i = 0; i < count; i++)
24
{
25
if
(
GetChannel
(i) == channel)
26
return
i;
27
}
28
29
return
-1;
30
}
31
32
};
BaseChatChannel
Definition
BaseChatChannel.c:13
BaseChatEntityClass
Definition
BaseChatEntity.c:13
IEntity
Definition
IEntity.c:13
IEntitySource
Definition
IEntitySource.c:13
ScriptedChatEntityClass
Definition
ScriptedChatEntity.c:6
GetChannel
proto external BaseChatChannel GetChannel(int channelId)
GetChannelsCount
BaseChatEntityClass GenericEntityClass GetChannelsCount()
EntityEvent
EntityEvent
Various entity events.
Definition
EntityEvent.c:14
scripts
Game
UI
ScriptedChatEntity.c
Generated by
1.17.0