示例#1
0
        public override void SendGump(PlayerMobile pm)
        {
            HiMiddleLow game = GetGame(pm) as HiMiddleLow;

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

            if (pm.FindGump(typeof(HiMiddleLowGump)) is HiMiddleLowGump g)
            {
                g.Refresh();
            }
            else
            {
                pm.SendGump(new HiMiddleLowGump(pm, game));
            }
        }
示例#2
0
 public HiMiddleLowGump(PlayerMobile pm, HiMiddleLow game)
     : base(pm, 380, 380, game)
 {
 }
示例#3
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));
            }
        }
示例#4
0
 public HiMiddleLowGump(PlayerMobile pm, HiMiddleLow game)
     : base(pm, 380, 380, game)
 {
 }