Back to Server.Engines.Mahjong

MahjongPlayers

(ctor) MahjongPlayers( MahjongGame game, GenericReader reader )
(ctor) MahjongPlayers( MahjongGame game, int maxPlayers, int baseScore )
Mobile Dealer( get; )
int DealerPosition( get; )
MahjongGame Game( get; )
int Seats( get; )
void AddPlayer( Mobile player, int index, bool sendJoinGame )
void AddSpectator( Mobile mobile )
void AssignDealer( int index )
void CheckPlayers()
ArrayList GetInGameMobiles( bool players, bool spectators )
int GetNextSeat()
Mobile GetPlayer( int index )
int GetPlayerIndex( Mobile mobile )
int GetScore( int index )
bool IsInGameDealer( Mobile mobile )
bool IsInGamePlayer( Mobile mobile )
bool IsInGamePlayer( int index )
bool IsPublic( int index )
bool IsSpectator( Mobile mobile )
void Join( Mobile mobile )
void LeaveGame( Mobile player )
void OpenSeat( int index )
void ResetScores( int value )
void Save( GenericWriter writer )
void SendDealerChangedMessage()
void SendGeneralPacket( bool players, bool spectators )
void SendLocalizedMessage( int number )
void SendLocalizedMessage( int number, string args )
void SendPlayerExitMessage( Mobile who )
void SendPlayersPacket( bool players, bool spectators )
void SendRelievePacket( bool players, bool spectators )
void SendTilePacket( MahjongTile tile, bool players, bool spectators )
void SendTilesPacket( bool players, bool spectators )
void SetPublic( int index, bool value )
void TransferScore( Mobile from, int toPosition, int amount )
void UpdateDealer( bool message )
bool UpdateSpectators()