OpenTTD Source 20241224-master-gee860a5c8e
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.

Typedef Documentation

◆ PacketSize

typedef uint16_t PacketSize

Size of the whole packet.

Definition at line 20 of file packet.h.

◆ PacketType

typedef uint8_t PacketType

Identifier for the packet.

Definition at line 21 of file packet.h.