Client engine should now be completely thread safe. const int& -> int. Player CardsValue is now returned as copy, not the array itself.
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ public:
|
||||
|
||||
void sendClientPlayerAction();
|
||||
|
||||
void setCurrentGameID(const int& theValue) { currentGameID = theValue; }
|
||||
void setCurrentGameID(int theValue) { currentGameID = theValue; }
|
||||
int getCurrentGameID() const { return currentGameID; }
|
||||
|
||||
void sendChatMessage(const std::string &message);
|
||||
|
||||
Reference in New Issue
Block a user