Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 • committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -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();
}
}
}
}