Пример #1
0
        //"Name<uid><wonid><team>" attacked "Name<uid><wonid><team>" with "weapon" (damage "damage") [58]
        protected virtual void OnInjure(DateTime Timestamp, string[] info)
        {
            InjureEventArgs eventArgs = new InjureEventArgs()
            {
                Timestamp = Timestamp,
                Player    = GetPlayerInfo(info[0]),
                Victim    = GetPlayerInfo(info[2]),
                Weapon    = info[4],
                Damage    = info[6]
            };

            PlayerInjured.Fire(ServerEndPoint, eventArgs);
        }
Пример #2
0
 //"Name<uid><wonid><team>" attacked "Name<uid><wonid><team>" with "weapon" (damage "damage") [58]
 protected virtual void OnInjure(DateTime Timestamp, string[] info)
 {
     InjureEventArgs eventArgs = new InjureEventArgs()
     {
         Timestamp = Timestamp,
         Player = GetPlayerInfo(info[0]),
         Victim = GetPlayerInfo(info[2]),
         Weapon = info[4],
         Damage = info[6]
     };
     PlayerInjured.Fire(ServerEndPoint, eventArgs);
 }