コード例 #1
0
 public InternalTarget( HangingSkeletonOSIDeed banner, int itemID )
     : base(-1, true, TargetFlags.None)
 {
     m_Skeleton = banner;
     m_ItemID = itemID;
 }
コード例 #2
0
                public FacingGump( HangingSkeletonOSIDeed 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 InternalGump( HangingSkeletonOSIDeed 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 );
            }