Server.Items.BaseBook.BaseBook C# (CSharp) Method

BaseBook() private method

private BaseBook ( int itemID, string title, string author, int pageCount, bool writable ) : System
itemID int
title string
author string
pageCount int
writable bool
return System
		public BaseBook( int itemID, string title, string author, int pageCount, bool writable ) : base( itemID )
		{
			m_Title = title;
			m_Author = author;
			m_Writable = writable;

			BookContent content = this.DefaultContent;

			if ( content == null )
			{
				m_Pages = new BookPageInfo[pageCount];

				for ( int i = 0; i < m_Pages.Length; ++i )
					m_Pages[i] = new BookPageInfo();
			}
			else
			{
				m_Pages = content.Copy();
			}
		}

Same methods

BaseBook::BaseBook ( Server.Serial serial ) : System
BaseBook::BaseBook ( int itemID ) : System
BaseBook::BaseBook ( int itemID, bool writable ) : System
BaseBook::BaseBook ( int itemID, int pageCount, bool writable ) : System