Console client: Display cards of player for each hand. Display server messages.

This commit is contained in:
lotodore
2008-12-23 02:15:49 +00:00
parent 6fa4f6585b
commit 28e7accd90
6 changed files with 58 additions and 22 deletions
+11 -1
View File
@@ -25,13 +25,14 @@ namespace pokerth_console
{
class PokerTHData
{
public PokerTHData()
public PokerTHData(string name)
{
m_gameInfoList = new GameInfoList();
m_playerInfoList = new PlayerInfoList();
m_mutex = new Object();
m_myPlayerId = 0;
m_myGameId = 0;
m_myName = name;
}
public GameInfoList GameList
@@ -50,6 +51,14 @@ namespace pokerth_console
}
}
public string MyName
{
get
{
return m_myName;
}
}
public uint MyPlayerId
{
get
@@ -91,5 +100,6 @@ namespace pokerth_console
private Object m_mutex;
private uint m_myPlayerId;
private uint m_myGameId;
private string m_myName;
}
}