Esempio n. 1
0
        public override void SendGump(PlayerMobile pm)
        {
            ChucklesLuck game = GetGame(pm) as ChucklesLuck;

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

            if (pm.FindGump(typeof(ChucklesLuckGump)) is ChucklesLuckGump g)
            {
                g.Refresh();
            }
            else
            {
                pm.SendGump(new ChucklesLuckGump(pm, game));
            }
        }
Esempio n. 2
0
 public ChucklesLuckGump(PlayerMobile pm, ChucklesLuck game)
     : base(pm, 280, 330, game)
 {
 }
Esempio n. 3
0
        public override void SendGump(PlayerMobile pm)
        {
            ChucklesLuck game = GetGame(pm) as ChucklesLuck;

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

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

            if(g != null)
                g.Refresh();
            else
            {
                pm.SendGump(new ChucklesLuckGump(pm, game));
            }
        }
Esempio n. 4
0
 public ChucklesLuckGump(PlayerMobile pm, ChucklesLuck game)
     : base(pm, 280, 330, game)
 {
 }