Example #1
0
        //Kick: "Name<uid><wonid><>" was kicked by "Console" (message "") [52b]
        protected virtual void OnKick(DateTime Timestamp, string[] info)
        {
            KickEventArgs eventArgs = new KickEventArgs()
            {
                Timestamp = Timestamp,
                Player    = GetPlayerInfo(info[1]),
                Kicker    = info[3],
                Message   = info.Length == 7 ? info[5] : string.Empty
            };

            PlayerKicked.Fire(ServerEndPoint, eventArgs);
        }
Example #2
0
 //Kick: "Name<uid><wonid><>" was kicked by "Console" (message "") [52b]
 protected virtual void OnKick(DateTime Timestamp, string[] info)
 {
     KickEventArgs eventArgs = new KickEventArgs()
     {
         Timestamp = Timestamp,
         Player = GetPlayerInfo(info[1]),
         Kicker = info[3],
         Message = info.Length == 7 ? info[5] : string.Empty
     };
     PlayerKicked.Fire(ServerEndPoint, eventArgs);
 }