Beispiel #1
0
        public override void SendGump()
        {
            ChucklesLuckGump g = Player.FindGump(typeof(ChucklesLuckGump)) as ChucklesLuckGump;

            if (g != null)
            {
                g.Refresh();
            }
            else
            {
                Player.SendGump(new ChucklesLuckGump(Player, this));
            }
        }
Beispiel #2
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));
            }
        }