Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ChatMessage.c
Go to the documentation of this file.
1 
5 class SCR_ChatMessage
8 {
9  string m_sMessage;
10 
11  void SCR_ChatMessage(string message)
12  {
13  m_sMessage = message;
14  }
15 };
16 
20 {
21  BaseChatChannel m_Channel;
22  int m_iSenderId;
23  string m_sSenderName;
24 
25  void SCR_ChatMessageGeneral(string message, BaseChatChannel channel = null, int senderId = -1, string senderName = "")
26  {
27  m_iSenderId = senderId;
28  m_sSenderName = senderName;
29  m_Channel = channel;
30  }
31 };
32 
36 {
37  int m_iReceiverId;
38 
39  void SCR_ChatMessagePrivate(string message, BaseChatChannel channel = null, int senderId = -1, string senderName = "", int receiverId = -1)
40  {
41  m_iReceiverId = receiverId;
42  }
43 };
44 
45 // Class for radio protocol messages
47 {
48  // todo figure out what we need for the radio protocol
49 
50  int m_iFrequency;
51 
52  void SCR_ChatMessageRadioProtocol(string message, int frequency)
53  {
54  m_iFrequency = frequency;
55  }
56 };
SCR_ChatMessageGeneral
Definition: SCR_ChatMessage.c:19
SCR_ChatMessagePrivate
Definition: SCR_ChatMessage.c:35
SCR_ChatMessageRadioProtocol
Definition: SCR_ChatMessage.c:46
SCR_ChatMessage
Definition: SCR_ChatMessage.c:7
BaseChatChannel
Definition: BaseChatChannel.c:12