예제 #1
0
        public void RemoveGame(PlayerMobile pm, BaseDiceGame game)
        {
            if (Players == null || !Players.ContainsKey(pm))
            {
                return;
            }

            Players.Remove(pm);
        }
예제 #2
0
        public void AddGame(PlayerMobile pm, BaseDiceGame game)
        {
            if (Players == null)
            {
                Players = new Dictionary <PlayerMobile, BaseDiceGame>();
            }

            Players[pm] = game;
        }
예제 #3
0
        public BaseCasinoGump(PlayerMobile pm, int width, int height, BaseDiceGame game)
            : base(50, 50)
        {
            User     = pm;
            Width    = width;
            Height   = height;
            DiceGame = game;

            AddGumpLayout();
        }
예제 #4
0
파일: Mobiles.cs 프로젝트: Crome696/ServUO
        public void RemoveGame(PlayerMobile pm, BaseDiceGame game)
        {
            if (Players == null || !Players.ContainsKey(pm))
                return;

            Players.Remove(pm);
        }
예제 #5
0
파일: Mobiles.cs 프로젝트: Crome696/ServUO
        public void AddGame(PlayerMobile pm, BaseDiceGame game)
        {
            if (Players == null)
                Players = new Dictionary<PlayerMobile, BaseDiceGame>();

            Players[pm] = game;
        }
예제 #6
0
        public BaseCasinoGump(PlayerMobile pm, int width, int height, BaseDiceGame game)
            : base(50, 50)
        {
            User = pm;
            Width = width;
            Height = height;
            DiceGame = game;

            AddGumpLayout();
        }