Пример #1
0
        public override void SendGump()
        {
            HiMiddleLowGump g = Player.FindGump(typeof(HiMiddleLowGump)) as HiMiddleLowGump;

            if (g != null)
            {
                g.Refresh();
            }
            else
            {
                Player.SendGump(new HiMiddleLowGump(Player, this));
            }
        }
Пример #2
0
        public override void SendGump(PlayerMobile pm)
        {
            HiMiddleLow game = GetGame(pm) as HiMiddleLow;

            if (game == null)
            {
                game = new HiMiddleLow(pm, this);
                AddGame(pm, game);
            }

            HiMiddleLowGump g = pm.FindGump(typeof(HiMiddleLowGump)) as HiMiddleLowGump;

            if (g != null)
            {
                g.Refresh();
            }
            else
            {
                pm.SendGump(new HiMiddleLowGump(pm, game));
            }
        }