Console client: Now functional, but several features are still missing.

This commit is contained in:
lotodore
2008-12-25 21:12:59 +00:00
parent 77bb02113a
commit 5623e0865d
11 changed files with 216 additions and 23 deletions
+22
View File
@@ -20,6 +20,8 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace pokerth_lib
{
@@ -33,6 +35,8 @@ namespace pokerth_lib
m_myPlayerId = 0;
m_myGameId = 0;
m_myName = name;
m_joinGameEvent = new AutoResetEvent(false);
m_startGameEvent = new AutoResetEvent(false);
}
public GameInfoList GameList
@@ -113,6 +117,22 @@ namespace pokerth_lib
}
}
public EventWaitHandle JoinGameEvent
{
get
{
return m_joinGameEvent;
}
}
public EventWaitHandle StartGameEvent
{
get
{
return m_startGameEvent;
}
}
private GameInfoList m_gameInfoList;
private PlayerInfoList m_playerInfoList;
private Hand m_curHand;
@@ -120,5 +140,7 @@ namespace pokerth_lib
private uint m_myPlayerId;
private uint m_myGameId;
private string m_myName;
private EventWaitHandle m_joinGameEvent;
private EventWaitHandle m_startGameEvent;
}
}