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