Fixed relationship of network session and player data to be consistent with the game engine. Now sending card's values via network. Fixed net packet checks.

This commit is contained in:
lotodore
2007-05-13 22:25:59 +00:00
parent e2d394f576
commit 7540ea17bd
21 changed files with 282 additions and 72 deletions
-6
View File
@@ -42,11 +42,6 @@ public:
void SetState(State state)
{m_state = state;}
const boost::shared_ptr<PlayerData> GetPlayerData() const
{return m_playerData;}
void SetPlayerData(boost::shared_ptr<PlayerData> playerData)
{m_playerData = playerData;}
SOCKET GetSocket() const
{return m_sockfd;}
@@ -60,7 +55,6 @@ private:
unsigned m_id;
State m_state;
std::string m_clientAddr;
boost::shared_ptr<PlayerData> m_playerData;
};
#endif