Example #1
0
 public virtual void Add(PlayerObject player)
 {
     if (Race == ObjectType.Player)
     {
         PlayerObject me = (PlayerObject)this;
         player.Enqueue(me.GetInfoEx(player));
     }
     else
     {
         player.Enqueue(GetInfo());
     }
 }
        public override void Add(PlayerObject player)
        {
            if (player == this) return;

            //base.Add(player);
            Enqueue(player.GetInfoEx(this));
            player.Enqueue(GetInfoEx(player));

            player.SendHealth(this);
            SendHealth(player);
        }