Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -23,15 +23,12 @@ namespace Server.Items
|
|||
private int m_MessageIndex;
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool IsAncient
|
||||
{
|
||||
get{ return ( m_Level >= 4 ); }
|
||||
}
|
||||
public bool IsAncient => ( m_Level >= 4 );
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public int Level
|
||||
{
|
||||
get{ return m_Level; }
|
||||
get => m_Level;
|
||||
set
|
||||
{
|
||||
m_Level = Math.Max( 1, Math.Min( value, 4 ) );
|
||||
|
|
@ -43,22 +40,22 @@ namespace Server.Items
|
|||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public Map TargetMap
|
||||
{
|
||||
get{ return m_TargetMap; }
|
||||
set{ m_TargetMap = value; }
|
||||
get => m_TargetMap;
|
||||
set => m_TargetMap = value;
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public Point3D TargetLocation
|
||||
{
|
||||
get{ return m_TargetLocation; }
|
||||
set{ m_TargetLocation = value; }
|
||||
get => m_TargetLocation;
|
||||
set => m_TargetLocation = value;
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public int MessageIndex
|
||||
{
|
||||
get{ return m_MessageIndex; }
|
||||
set{ m_MessageIndex = value; }
|
||||
get => m_MessageIndex;
|
||||
set => m_MessageIndex = value;
|
||||
}
|
||||
|
||||
public void UpdateHue()
|
||||
|
|
@ -304,9 +301,9 @@ namespace Server.Items
|
|||
private int m_Width, m_Height;
|
||||
private string m_Message;
|
||||
|
||||
public int Width{ get{ return m_Width; } }
|
||||
public int Height{ get{ return m_Height; } }
|
||||
public string Message{ get{ return m_Message; } }
|
||||
public int Width => m_Width;
|
||||
public int Height => m_Height;
|
||||
public string Message => m_Message;
|
||||
|
||||
public MessageEntry( int width, int height, string message )
|
||||
{
|
||||
|
|
@ -331,10 +328,7 @@ namespace Server.Items
|
|||
new MessageEntry( 280, 250, "...was a cad and a boor, no matter what momma s...rew him overboard! Oh, Anna, 'twas so exciting!<br> Unfort...y he grabbe...est, and all his riches went with him!<br> ...sked the captain, and he says we're at {0}<br>...so maybe..." )
|
||||
};
|
||||
|
||||
public static MessageEntry[] Entries
|
||||
{
|
||||
get{ return m_Entries; }
|
||||
}
|
||||
public static MessageEntry[] Entries => m_Entries;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue