OpenTTD Source 20241224-master-gf74b0cf984
vehiclelist_cmd.h File Reference

Functions and type for serializing vehicle lists. More...

#include "command_func.h"
#include "vehiclelist.h"

Go to the source code of this file.

Functions

template<typename Tcont , typename Titer >
EndianBufferWriter< Tcont, Titer > & operator<< (EndianBufferWriter< Tcont, Titer > &buffer, const VehicleListIdentifier &vli)
 
EndianBufferReaderoperator>> (EndianBufferReader &buffer, VehicleListIdentifier &vli)
 

Detailed Description

Functions and type for serializing vehicle lists.

Definition in file vehiclelist_cmd.h.

Function Documentation

◆ operator<<()

template<typename Tcont , typename Titer >
EndianBufferWriter< Tcont, Titer > & operator<< ( EndianBufferWriter< Tcont, Titer > &  buffer,
const VehicleListIdentifier vli 
)
inline

Definition at line 1 of file vehiclelist_cmd.h.

◆ operator>>()

EndianBufferReader & operator>> ( EndianBufferReader buffer,
VehicleListIdentifier vli 
)
inline

Definition at line 22 of file vehiclelist_cmd.h.