Console client: Added console callback, display more information. Cache hand state.

This commit is contained in:
lotodore
2008-12-23 14:24:37 +00:00
parent 28e7accd90
commit 04616ef89c
25 changed files with 495 additions and 104 deletions
+19
View File
@@ -51,6 +51,24 @@ namespace pokerth_console
}
}
public Hand CurHand
{
get
{
lock (m_mutex)
{
return m_curHand;
}
}
set
{
lock (m_mutex)
{
m_curHand = value;
}
}
}
public string MyName
{
get
@@ -97,6 +115,7 @@ namespace pokerth_console
private GameInfoList m_gameInfoList;
private PlayerInfoList m_playerInfoList;
private Hand m_curHand;
private Object m_mutex;
private uint m_myPlayerId;
private uint m_myGameId;