public SendGroupMessageScriptClient(string GroupID, ChatManager.ChatMessage MessageToSend)
     : base("Send Group Message")
 {
     this.GroupID       = GroupID;
     this.MessageToSend = MessageToSend;
 }
 public ReceiveGroupMessageScriptServer(string GroupID, ChatManager.ChatMessage NewMessage)
     : base("Receive Group Message")
 {
     this.GroupID    = GroupID;
     this.NewMessage = NewMessage;
 }
Ejemplo n.º 3
0
 public SendGlobalMessageScriptClient(ChatManager.ChatMessage MessageToSend)
     : base("Send Global Message")
 {
     this.MessageToSend = MessageToSend;
 }
 public ReceiveGlobalMessageScriptServer(ChatManager.ChatMessage NewMessage)
     : base("Receive Global Message")
 {
     this.NewMessage = NewMessage;
 }
Ejemplo n.º 5
0
 public void ExecuteOnMainThread()
 {
     ChatManager.ChatMessage NewChatMessage = new ChatManager.ChatMessage(DateTime.Parse(Date, DateTimeFormatInfo.InvariantInfo), Message, (ChatManager.MessageColors)MessageColor);
     OnlineCommunicationClient.Chat.AddMessage(GroupID, new ChatManager.ChatMessage(DateTime.Parse(Date, DateTimeFormatInfo.InvariantInfo), Message, (ChatManager.MessageColors)MessageColor));
     OnlineCommunicationClient.Chat.SaveMessage(GroupID, NewChatMessage);
 }