Sending queue, needed to delay some messages. More...
#include <SendingQueue.hh>
Public Member Functions | |
| SendingQueue (CRules *r) | |
| void | cancelMoves () |
| Cancel all planned moves, if any. | |
| void | push (const MsgMove *m) |
| Store move message for further sending. | |
| bool | sendNextMove () |
| Send next move message, if any. | |
| void | cancelBlockDiceChoice () |
| Cancel block dice choice, if any. | |
| bool | sendBlockDiceChoice () |
| Send block dice choice, if any. | |
| void | storeBlockDiceChoice (int dice) |
| Store block dice choice for further sending. | |
Sending queue, needed to delay some messages.
| bool SendingQueue::sendBlockDiceChoice | ( | ) |
Send block dice choice, if any.
References MsgBlockDice::dice, and BaseCRules::sendPacket().
| bool SendingQueue::sendNextMove | ( | ) |
Send next move message, if any.
References BaseCRules::sendPacket().
1.6.3