#include "types.h"
#include <SFML/Network/Packet.hpp>
Go to the source code of this file.
|
struct | ClientPacket |
| ClientPacket is an object containing data that a client wishes to send to the server and its remote port. This struct must be used in the server side only. More...
|
|
◆ PacketType
Enumerator |
---|
kNone | |
KNotReady | |
kClientIdentification | |
kJoinLobby | |
KStartGame | |
kNewTurn | |
KCueBallVelocity | |
kEndGame | |
kEloUpdated | |
◆ operator<<()
sf::Packet & operator<< |
( |
sf::Packet & | packet, |
|
|
const PacketType & | type ) |
◆ operator>>()
sf::Packet & operator>> |
( |
sf::Packet & | packet, |
|
|
PacketType & | type ) |