Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -28,10 +28,7 @@ namespace Server.Engines.Mahjong
|
|||
m_Wind = wind;
|
||||
}
|
||||
|
||||
public MahjongPieceDim Dimensions
|
||||
{
|
||||
get { return GetDimensions( m_Position, m_Direction ); }
|
||||
}
|
||||
public MahjongPieceDim Dimensions => GetDimensions( m_Position, m_Direction );
|
||||
|
||||
public void Move( Point2D position, MahjongPieceDirection direction, MahjongWind wind )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -31,14 +31,14 @@ namespace Server.Engines.Mahjong
|
|||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public SecureLevel Level
|
||||
{
|
||||
get{ return m_Level; }
|
||||
set{ m_Level = value; }
|
||||
get => m_Level;
|
||||
set => m_Level = value;
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool ShowScores
|
||||
{
|
||||
get { return m_ShowScores; }
|
||||
get => m_ShowScores;
|
||||
set
|
||||
{
|
||||
if ( m_ShowScores == value )
|
||||
|
|
@ -58,7 +58,7 @@ namespace Server.Engines.Mahjong
|
|||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool SpectatorVision
|
||||
{
|
||||
get { return m_SpectatorVision; }
|
||||
get => m_SpectatorVision;
|
||||
set
|
||||
{
|
||||
if ( m_SpectatorVision == value )
|
||||
|
|
|
|||
|
|
@ -37,15 +37,9 @@ namespace Server.Engines.Mahjong
|
|||
m_Flipped = flipped;
|
||||
}
|
||||
|
||||
public MahjongPieceDim Dimensions
|
||||
{
|
||||
get { return GetDimensions( m_Position, m_Direction ); }
|
||||
}
|
||||
public MahjongPieceDim Dimensions => GetDimensions( m_Position, m_Direction );
|
||||
|
||||
public bool IsMovable
|
||||
{
|
||||
get { return m_Game.GetStackLevel( Dimensions ) <= m_StackLevel; }
|
||||
}
|
||||
public bool IsMovable => m_Game.GetStackLevel( Dimensions ) <= m_StackLevel;
|
||||
|
||||
public void Move( Point2D position, MahjongPieceDirection direction, bool flip, int validHandArea )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,10 +19,7 @@ namespace Server.Engines.Mahjong
|
|||
m_Position = position;
|
||||
}
|
||||
|
||||
public MahjongPieceDim Dimensions
|
||||
{
|
||||
get { return GetDimensions( m_Position ); }
|
||||
}
|
||||
public MahjongPieceDim Dimensions => GetDimensions( m_Position );
|
||||
|
||||
public void Move( Point2D position )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue