public override void OnDoubleClick(Mobile from) { if (from.AccessLevel < AccessLevel.GameMaster) { return; } SpawnerGump g = new SpawnerGump(this); from.SendGump(g); }
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)); } }
public override void OnDoubleClick( Mobile from ) { if ( from.AccessLevel < AccessLevel.GameMaster ) return; SpawnerGump g = new SpawnerGump( this ); from.SendGump( g ); }