public bool CouldFit(IPoint3D p, Map map) { HouseTeleporterDeed deed = new HouseTeleporterDeed(); bool res = deed.CouldFit(p, map); deed.Delete(); return res; }
public HouseTeleporterSelectGump(Mobile from, HouseTeleporterDeed deed) : base(0, 0) { m_From = from; m_Deed = deed; this.Closable = true; this.Disposable = true; this.Dragable = true; this.Resizable = false; this.AddPage(0); this.AddBackground(80, 48, 267, 261, 9200); this.AddItem(120, 88, 6173); this.AddButton(95, 99, 5541, 5542, (int)Buttons.Symbol1, GumpButtonType.Reply, 0); this.AddItem(120, 136, 6174); this.AddButton(95, 147, 5541, 5542, (int)Buttons.Symbol2, GumpButtonType.Reply, 0); this.AddItem(120, 184, 6175); this.AddButton(95, 195, 5541, 5542, (int)Buttons.Symbol3, GumpButtonType.Reply, 0); this.AddItem(120, 232, 6176); this.AddButton(95, 243, 5541, 5542, (int)Buttons.Symbol4, GumpButtonType.Reply, 0); this.AddItem(200, 88, 6177); this.AddButton(175, 99, 5541, 5542, (int)Buttons.Symbol5, GumpButtonType.Reply, 0); this.AddItem(200, 136, 6178); this.AddButton(175, 147, 5541, 5542, (int)Buttons.Symbol6, GumpButtonType.Reply, 0); this.AddItem(200, 184, 6179); this.AddButton(175, 195, 5541, 5542, (int)Buttons.Symbol7, GumpButtonType.Reply, 0); this.AddItem(200, 232, 6180); this.AddButton(175, 243, 5541, 5542, (int)Buttons.Symbol8, GumpButtonType.Reply, 0); this.AddItem(288, 88, 6181); this.AddButton(263, 99, 5541, 5542, (int)Buttons.Symbol9, GumpButtonType.Reply, 0); this.AddItem(288, 136, 6182); this.AddButton(263, 147, 5541, 5542, (int)Buttons.Symbol10, GumpButtonType.Reply, 0); this.AddItem(288, 184, 6183); this.AddButton(263, 195, 5541, 5542, (int)Buttons.Symbol11, GumpButtonType.Reply, 0); this.AddItem(288, 232, 6184); this.AddButton(263, 243, 5541, 5542, (int)Buttons.Symbol12, GumpButtonType.Reply, 0); this.AddLabel(146, 59, 1152, @"Select a Teleporter"); this.AddButton(182, 280, 242, 241, (int)Buttons.Cancel, GumpButtonType.Reply, 0); }
public GetSecondTarget(Mobile from, HouseTeleporterDeed deed) : base(-1, true, TargetFlags.None) { m_From = from; m_Deed = deed; AllowNonlocal = true; CheckLOS = false; }