Preparing network functions to let a player show his cards.

This commit is contained in:
lotodore
2010-07-15 21:55:52 +00:00
parent 6ece570a06
commit 79e7a47343
7 changed files with 111 additions and 10 deletions
+7
View File
@@ -459,6 +459,13 @@ void Session::voteKick(bool doKick)
myNetClient->SendVoteKick(doKick);
}
void Session::showMyCards()
{
if (!myNetClient)
return; // only act if client is running.
myNetClient->SendShowMyCards();
}
bool Session::isNetworkClientRunning() const
{
// This, and every place which calls this, is a HACK.