Пример #1
0
            public InternalGump(HangingSkeletonDeed skeleton)
                : base(100, 200)
            {
                m_Skeleton = skeleton;

                Closable   = true;
                Disposable = true;
                Dragable   = true;
                Resizable  = false;

                AddPage(0);

                AddBackground(25, 0, 500, 230, 0xA28);

                AddPage(1);

                AddItem(130, 70, 0x1A03);
                AddButton(150, 50, 0x845, 0x846, 0x1A03, GumpButtonType.Reply, 0);

                AddItem(190, 70, 0x1A05);
                AddButton(210, 50, 0x845, 0x846, 0x1A05, GumpButtonType.Reply, 0);

                AddItem(250, 70, 0x1A09);
                AddButton(270, 50, 0x845, 0x846, 0x1A09, GumpButtonType.Reply, 0);

                AddItem(310, 70, 0x1B1E);
                AddButton(330, 50, 0x845, 0x846, 0x1B1E, GumpButtonType.Reply, 0);

                AddItem(370, 70, 0x1B7F);
                AddButton(390, 50, 0x845, 0x846, 0x1B7F, GumpButtonType.Reply, 0);
            }
Пример #2
0
                public FacingGump(HangingSkeletonDeed banner, int itemID, Point3D location, BaseHouse house) : base(150, 50)
                {
                    m_Skeleton = banner;
                    m_ItemID   = itemID;
                    m_Location = location;
                    m_House    = house;

                    Closable   = true;
                    Disposable = true;
                    Dragable   = true;
                    Resizable  = false;

                    AddPage(0);

                    AddBackground(0, 0, 300, 150, 0xA28);

                    AddItem(90, 30, GetWestItemID(itemID));
                    AddItem(180, 30, itemID);

                    AddButton(50, 35, 0x868, 0x869, (int)Buttons.East, GumpButtonType.Reply, 0);
                    AddButton(145, 35, 0x868, 0x869, (int)Buttons.South, GumpButtonType.Reply, 0);
                }
Пример #3
0
				public FacingGump( HangingSkeletonDeed banner, int itemID, Point3D location, BaseHouse house ) : base( 150, 50 )
				{
					m_Skeleton = banner;
					m_ItemID = itemID;
					m_Location = location;
					m_House = house;
				
					Closable = true;
					Disposable = true;
					Dragable = true;
					Resizable = false;

					AddPage( 0 );

					AddBackground( 0, 0, 300, 150, 0xA28 );

					AddItem( 90, 30, GetWestItemID( itemID ) );
					AddItem( 180, 30, itemID );

					AddButton( 50, 35, 0x868, 0x869, (int) Buttons.East, GumpButtonType.Reply, 0 );
					AddButton( 145, 35, 0x868, 0x869, (int) Buttons.South, GumpButtonType.Reply, 0 );
				}
Пример #4
0
			public InternalTarget( HangingSkeletonDeed banner, int itemID ) : base( -1, true, TargetFlags.None )
			{
				m_Skeleton = banner;
				m_ItemID = itemID;
			}
Пример #5
0
			public InternalGump( HangingSkeletonDeed skeleton ) : base( 100, 200 )
			{
				m_Skeleton = skeleton;
				
				Closable = true;
				Disposable = true;
				Dragable = true;
				Resizable = false;
				
				AddPage( 0 );

				AddBackground( 25, 0, 500, 230, 0xA28 );

				AddPage( 1 );

				AddItem( 130, 70, 0x1A03 );
				AddButton( 150, 50, 0x845, 0x846, 0x1A03, GumpButtonType.Reply, 0 );

				AddItem( 190, 70, 0x1A05 );
				AddButton( 210, 50, 0x845, 0x846, 0x1A05, GumpButtonType.Reply, 0 );

				AddItem( 250, 70, 0x1A09 );
				AddButton( 270, 50, 0x845, 0x846, 0x1A09, GumpButtonType.Reply, 0 );

				AddItem( 310, 70, 0x1B1E );
				AddButton( 330, 50, 0x845, 0x846, 0x1B1E, GumpButtonType.Reply, 0 );

				AddItem( 370, 70, 0x1B7F );
				AddButton( 390, 50, 0x845, 0x846, 0x1B7F, GumpButtonType.Reply, 0 );
			}
Пример #6
0
 public InternalTarget(HangingSkeletonDeed banner, int itemID)
     : base(-1, true, TargetFlags.None)
 {
     m_Skeleton = banner;
     m_ItemID   = itemID;
 }
            public InternalGump( HangingSkeletonDeed deed )
                : base(150, 50)
            {
                m_Deed = deed;

                AddBackground( 0, 0, 350, 250, 0xA28 );

                AddItem( 112, 35, 0x1A01 );
                AddButton( 70, 35, 0x868, 0x869, 1, GumpButtonType.Reply, 0 ); // South

                AddItem( 220, 35, 0x1A02 );
                AddButton( 185, 35, 0x868, 0x869, 2, GumpButtonType.Reply, 0 ); // East
            }