public NameBookPrompt(TMapBook book) { m_Book = book; }
public NameBookEntry(Mobile from, TMapBook book) : base(6216) { m_From = from; m_Book = book; }
public TMapBookGump( Mobile from, TMapBook book ) : base( 150, 200 ) { m_Book = book; AddBackground(); for ( int page = 0; page < 8; ++page ) { AddPage( 1 + page ); if ( page > 0 ) //0 AddButton( 125, 14, 2205, 2205, 0, GumpButtonType.Page, page ); if ( page < 7 ) AddButton( 393, 14, 2206, 2206, 0, GumpButtonType.Page, 2 + page ); if ( page < 4 ) AddImage ( 135 + ( page * 35), 190, 36 ); if ( page > 3 ) AddImage ( 305 + (( page - 4) * 35), 190, 36 ); for ( int half = 0; half < 2; ++half ) { int tb = 0; AddDetails( (page * 4) + (half * 2), half, tb ); tb = 1; AddDetails( (page * 4) + (half * 2) + 1, half, tb ); } } }