예제 #1
0
 private void AddEmoteMessage(string mode, string author, int emoteId)
 {
     if (mode != null)
     {
         author = "[" + mode + "]" + author;
     }
     MainWindow.AppendLineToTextBox((_localChatTab.Content as ChatPanel).ChatBox,
                                    "[" + DateTime.Now.ToLongTimeString() + "] " + author + " is " + ChatEmotes.GetDescription(emoteId));
 }
예제 #2
0
 private void AddEmoteMessage(string mode, string author, int emoteId)
 {
     if (mode != null)
     {
         author = "[" + mode + "]" + author;
     }
     ChatPanels["Local"].Text += "[" + DateTime.Now.ToLongTimeString() + "] " + author + " is " + ChatEmotes.GetDescription(emoteId) + Environment.NewLine;
 }