Beispiel #1
0
 public void AddToLog(ChatMessage msg)
 {
     this.Log[this.LogCounter] = msg;
     this.LogCounter++;
     if (this.LogCounter >= this.Log.Length)
         this.LogCounter = 0;
 }
Beispiel #2
0
 private static void AddLogItem(ChatMessage msg)
 {
     GlobalLog[LogCounter] = msg;
     LogCounter++;
     if (LogCounter >= GlobalLog.Length)
         LogCounter = 0;
 }