Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -14,10 +14,10 @@ namespace Server.Engines.Mahjong
|
|||
private int m_DealerPosition;
|
||||
private ArrayList m_Spectators;
|
||||
|
||||
public MahjongGame Game { get { return m_Game; } }
|
||||
public int Seats { get { return m_Players.Length; } }
|
||||
public Mobile Dealer { get { return m_Players[m_DealerPosition]; } }
|
||||
public int DealerPosition { get { return m_DealerPosition; } }
|
||||
public MahjongGame Game => m_Game;
|
||||
public int Seats => m_Players.Length;
|
||||
public Mobile Dealer => m_Players[m_DealerPosition];
|
||||
public int DealerPosition => m_DealerPosition;
|
||||
|
||||
public MahjongPlayers( MahjongGame game, int maxPlayers, int baseScore )
|
||||
{
|
||||
|
|
@ -549,4 +549,4 @@ namespace Server.Engines.Mahjong
|
|||
m_DealerPosition = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue