public static void HandleRoundResultFriendly(byte[] message) { string s = ASCIIEncoding.ASCII.GetString(message); MatchStat m = new MatchStat(); m.team = "friendly"; m.HandleMatchStat(s); lock (friendlyList) { friendlyList.Add(m); } }
public static void HandleRoundResultFriendly(byte[] message) { string s = ASCIIEncoding.ASCII.GetString(message); #if DEBUG Log(string.Format("[FRIENDLY TEAM]:{0}\r\n", s)); #endif MatchStat m = new MatchStat(); m.team = "friendly"; m.HandleMatchStat(s); lock (friendlyList) { friendlyList.Add(m); } }
public static void HandleRoundResultEnemy(byte[] message) { string s = ASCIIEncoding.ASCII.GetString(message); #if DEBUG Log(string.Format("[ENEMY TEAM]:{0}\r\n", s)); #endif MatchStat m = new MatchStat(); m.team = "enemy"; m.HandleMatchStat(s); lock (enemyList) { enemyList.Add(m); } }