OpenTTD Source: src/network/core/packet.h File Reference

OpenTTD Source 15.0-RC2

Data Structures | Typedefs
packet.h File Reference

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

`#include "os_abstraction.h"`
`#include "config.h"`
`#include "core.h"`
`#include "../../core/convertible_through_base.hpp"`
`#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 21 of file packet.h.

## ◆ PacketType

typedef uint8_t PacketType

Identifier for the packet.

Definition at line 22 of file packet.h.