Rules implementation for the client. More...
#include <CRules.hh>

Public Member Functions | |
| CRules (App *app) | |
| virtual void | serialize (std::ostream &os) const |
| virtual void | unserialize (std::istream &is) |
| virtual Api * | getApi () |
| Gets the api. | |
| App * | getApp () |
| CMatch * | getMatch () |
| CPlayerMsg * | getPlayerMsg () |
| SendingQueue * | getSendingQueue () |
| CTeamMsg * | getTeamMsg () |
| void | setState (int new_state) |
| Set the current game state. | |
| void | switchToTeamState (int state) |
| void | restoreGameState () |
| void | countRequestSending () |
| void | countRequestProcessed () |
| void | countQueryReceived () |
| void | countQueryProcessed () |
| void | freezeRequestSending () |
| void | unfreezeRequestSending () |
| int | getNbRequestsSent () const |
| void | sendPacketLater (const MsgMove &m) |
Friends | |
| class | Api |
| std::ostream & | operator<< (std::ostream &os, const CRules &r) |
Rules implementation for the client.
1.6.3