Example #1
0
        //"Name<uid><wonid><team>" killed "Name<uid><wonid><team>" with "weapon" [57]
        protected virtual void OnKill(DateTime Timestamp, string[] info)
        {
            KillEventArgs eventArgs = new KillEventArgs()
            {
                Timestamp = Timestamp,
                Player    = GetPlayerInfo(info[0]),
                Victim    = GetPlayerInfo(info[2]),
                Weapon    = info[4]
            };

            PlayerKilled.Fire(ServerEndPoint, eventArgs);
        }
Example #2
0
 //"Name<uid><wonid><team>" killed "Name<uid><wonid><team>" with "weapon" [57]
 protected virtual void OnKill(DateTime Timestamp, string[] info)
 {
     KillEventArgs eventArgs = new KillEventArgs()
     {
         Timestamp = Timestamp,
         Player = GetPlayerInfo(info[0]),
         Victim = GetPlayerInfo(info[2]),
         Weapon = info[4]
     };
     PlayerKilled.Fire(ServerEndPoint, eventArgs);
 }