optimizing local sqlite-logging; implementing second steps network client sqlite-logging

This commit is contained in:
floty
2011-11-13 01:05:28 +00:00
parent 311b3e654c
commit 2437407ffc
12 changed files with 181 additions and 111 deletions
+4 -1
View File
@@ -40,6 +40,10 @@ public:
PlayerActionLog transformPlayerActionLog(PlayerAction action);
void logBoardCards(GameState bero, int boardCards[5]);
void logHoleCardsHandName(GameState bero, PlayerList activePlayerList);
void logHoleCardsHandName(GameState bero, PlayerList activePlayerList, boost::shared_ptr<PlayerInterface> player, bool forceExecLog = 0);
void logHandWinner(PlayerList activePlayerList, int highestCardsValue, std::list<unsigned> winners);
void logGameWinner(PlayerList activePlayerList);
void logPlayerSitsOut(PlayerList activePlayerList);
void logAfterHand();
void logAfterGame();
void exec_transaction();
@@ -52,7 +56,6 @@ private:
int curGameID;
int curHandID;
std::string sql;
bool logHoleCardsDone;
};
#endif // LOG_H