Container for data passed through network. More...
#include <Packet.hh>

Public Member Functions | |
| Packet (int token=0, int client_id=-1) | |
Public Attributes | |
| unsigned | token |
| Type of packet carried. Rules specific. | |
| int | client_id |
| Source or destination client. | |
| unsigned | data_size |
| Packet size, this header is included. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Packet &pkt) |
Container for data passed through network.
Source or destination client.
Referenced by STeam::canDoEffort(), SMatch::nextTurn(), SBall::setOwner(), and CBall::setOwner().
1.6.3