public FacingGump(DecorativeShardShieldDeed shield, int itemID, Point3D location, BaseHouse house) : base(150, 50) { this.m_Shield = shield; this.m_ItemID = itemID; this.m_Location = location; this.m_House = house; this.AddBackground(0, 0, 300, 150, 0xA28); this.AddItem(90, 30, itemID); this.AddItem(180, 30, GetSouthItemID(itemID)); this.AddButton(50, 35, 0x867, 0x869, (int)Buttons.East, GumpButtonType.Reply, 0); this.AddButton(145, 35, 0x867, 0x869, (int)Buttons.South, GumpButtonType.Reply, 0); }
public InternalGump(DecorativeShardShieldDeed shield, int page) : base(150, 50) { this.m_Shield = shield; this.m_Page = page; this.Closable = true; this.Disposable = true; this.Dragable = true; this.Resizable = false; this.AddPage(0); this.AddBackground(50, 89, 647, 505, 2600); this.AddLabel(103, 114, 0, @"Choose from the following:"); int itemID = Start; for (int i = 0; i < 27; i++) { if (8 >= i) { this.AddItem(82 + i * 65, 180, itemID); this.AddTooltip(1104344 + i); this.AddButton(92 + i * 65, 155, 0x845, 0x846, itemID, GumpButtonType.Reply, 0); this.AddTooltip(1104344 + i); } else if (i > 8 && i < 18) { this.AddItem(82 + ((i - 9) * 65), 330, itemID); this.AddTooltip(1104344 + i); this.AddButton(92 + ((i - 9) * 65), 305, 0x845, 0x846, itemID, GumpButtonType.Reply, 0); this.AddTooltip(1104344 + i); } else if (i >= 18 && 26 >= i) { this.AddItem(82 + ((i - 18) * 65), 480, itemID); this.AddTooltip(1104344 + i); this.AddButton(92 + ((i - 18) * 65), 455, 0x845, 0x846, itemID, GumpButtonType.Reply, 0); this.AddTooltip(1104344 + i); } itemID++; } }
public InternalTarget(DecorativeShardShieldDeed shield, int itemID) : base(-1, true, TargetFlags.None) { this.m_Shield = shield; this.m_ItemID = itemID; }
public InternalGump(DecorativeShardShieldDeed shield) : this(shield, 1) { }