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)); } }
public HiMiddleLowGump(PlayerMobile pm, HiMiddleLow game) : base(pm, 380, 380, game) { }
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)); } }