예제 #1
0
        //"Name<uid><wonid><team>" acquired weapon "weapon"  [69]
        protected virtual void OnWeaponPickup(DateTime Timestamp, string[] info)
        {
            WeaponEventArgs eventArgs = new WeaponEventArgs()
            {
                Timestamp = Timestamp,
                Player    = GetPlayerInfo(info[0]),
                Weapon    = info[2]
            };

            PlayerAcquiredWeapon.Fire(ServerEndPoint, eventArgs);
        }
예제 #2
0
 //"Name<uid><wonid><team>" selected weapon "weapon"     [68]
 protected virtual void OnWeaponSelection(DateTime Timestamp, string[] info)
 {
     WeaponEventArgs eventArgs = new WeaponEventArgs()
     {
         Timestamp = Timestamp,
         Player = GetPlayerInfo(info[0]),
         Weapon = info[2]
     };
     PlayerSelectedWeapon.Fire(ServerEndPoint, eventArgs);
 }