Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -15,14 +15,8 @@ namespace Server.Items
public string[] Lines
{
get
{
return m_Lines;
}
set
{
m_Lines = value;
}
get => m_Lines;
set => m_Lines = value;
}
public BookPageInfo()
@ -65,34 +59,28 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public string Title
{
get { return m_Title; }
get => m_Title;
set { m_Title = value; InvalidateProperties(); }
}
[CommandProperty( AccessLevel.GameMaster )]
public string Author
{
get { return m_Author; }
get => m_Author;
set { m_Author = value; InvalidateProperties(); }
}
[CommandProperty( AccessLevel.GameMaster )]
public bool Writable
{
get { return m_Writable; }
set { m_Writable = value; }
get => m_Writable;
set => m_Writable = value;
}
[CommandProperty(AccessLevel.GameMaster)]
public int PagesCount
{
get { return m_Pages.Length; }
}
public int PagesCount => m_Pages.Length;
public BookPageInfo[] Pages
{
get { return m_Pages; }
}
public BookPageInfo[] Pages => m_Pages;
[Constructible]
public BaseBook( int itemID ) : this( itemID, 20, true )
@ -145,7 +133,7 @@ namespace Server.Items
}
}
public virtual BookContent DefaultContent{ get{ return null; } }
public virtual BookContent DefaultContent => null;
public BaseBook( Serial serial ) : base( serial )
{
@ -463,14 +451,8 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public SecureLevel Level
{
get
{
return m_SecureLevel;
}
set
{
m_SecureLevel = value;
}
get => m_SecureLevel;
set => m_SecureLevel = value;
}
#endregion