Network code documentation for my turn-based game 1.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
ClientPacket Struct Reference

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...

#include <packet.h>

Public Attributes

sf::Packet data {}
 
Port client_port = 0
 

Detailed Description

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.

Member Data Documentation

◆ client_port

Port ClientPacket::client_port = 0

◆ data

sf::Packet ClientPacket::data {}

The documentation for this struct was generated from the following file: