Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
BaseChatComponent.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
13 {
14 }
15 
17 class BaseChatComponent: GameComponent
18 {
20  proto external IEntity GetOwner();
26  proto external void SetChannel(int channelId, bool enabled);
31  proto external bool GetChannelState(int channelId);
37  proto external void SendMessage(string msgStr, int channelId);
43  proto external void SendPrivateMessage(string msgStr, int receiverId);
44 
45  // callbacks
46 
53  event protected void OnNewMessage(string msg, int channelId, int senderId);
60  event protected void OnNewPrivateMessage(string msg, int senderId, int receiverId);
61  event protected void ShowMessage(string msg);
62 }
63 
OnNewMessage
event protected void OnNewMessage(string msg, int channelId, int senderId)
Definition: SCR_ChatComponent.c:23
GameComponentClass
Definition: GameComponentClass.c:7
SetChannel
proto external void SetChannel(int channelId, bool enabled)
SendMessage
proto external void SendMessage(string msgStr, int channelId)
SendPrivateMessage
proto external void SendPrivateMessage(string msgStr, int receiverId)
GetOwner
IEntity GetOwner()
Owner entity of the fuel tank.
Definition: SCR_FuelNode.c:128
BaseChatComponentClass
Definition: BaseChatComponent.c:12
GetChannelState
proto external bool GetChannelState(int channelId)
OnNewPrivateMessage
event protected void OnNewPrivateMessage(string msg, int senderId, int receiverId)
Definition: SCR_ChatComponent.c:33
ShowMessage
event protected void ShowMessage(string msg)
Definition: SCR_ChatComponent.c:43
GameComponent
Definition: GameComponent.c:12