Example #1
0
        // "Name<uid><wonid><team>" say_team "message" [63.2]
        protected virtual void OnTeamSay(DateTime Timestamp, string[] info)
        {
            ChatEventArgs eventArgs = new ChatEventArgs()
            {
                Timestamp = Timestamp,
                Player    = GetPlayerInfo(info[0]),
                Message   = info.Length == 3 ? info[2] : string.Empty
            };

            TeamSay.Fire(ServerEndPoint, eventArgs);
        }
Example #2
0
 // "Name<uid><wonid><team>" say_team "message" [63.2]
 protected virtual void OnTeamSay(DateTime Timestamp, string[] info)
 {
     ChatEventArgs eventArgs = new ChatEventArgs()
     {
         Timestamp = Timestamp,
         Player = GetPlayerInfo(info[0]),
         Message = info.Length == 3 ? info[2] : string.Empty
     };
     TeamSay.Fire(ServerEndPoint, eventArgs);
 }