Exemplo n.º 1
0
        public override void OnDoubleClick(Mobile from)
        {
            if (from.AccessLevel < AccessLevel.GameMaster)
            {
                return;
            }

            SpawnerGump g = new SpawnerGump(this);

            from.SendGump(g);
        }
Exemplo n.º 2
0
        public override void OnDoubleClick(Mobile from)
        {
            if (!from.Player || from.AccessLevel < AccessLevel.Spawner)
            {
                return;
            }

            SpawnerGump gump = BaseGump.GetGump <SpawnerGump>((PlayerMobile)from, g => g.Spawner == this);

            if (gump != null)
            {
                gump.Refresh();
            }
            else
            {
                BaseGump.SendGump(new SpawnerGump(from, this));
            }
        }
Exemplo n.º 3
0
		public override void OnDoubleClick( Mobile from )
		{
			if ( from.AccessLevel < AccessLevel.GameMaster )
				return;

			SpawnerGump g = new SpawnerGump( this );
			from.SendGump( g );
		}