OpenTTD Source  20241121-master-g67a0fccfad
packet.h File Reference

Basic functions to create, fill and read packets. More...

#include "os_abstraction.h"
#include "config.h"
#include "core.h"
#include "../../string_type.h"

Go to the source code of this file.

Data Structures

struct  Packet
 Internal entity of a packet. More...
 

Typedefs

typedef uint16_t PacketSize
 Size of the whole packet.
 
typedef uint8_t PacketType
 Identifier for the packet.
 

Detailed Description

Basic functions to create, fill and read packets.

Definition in file packet.h.