OpenTTD Source 20260219-master-g698dc9cb08
IsEnumPacketType< enum_type > Struct Template Reference

Trait to mark an enumeration as a PacketType. More...

#include <packet.h>

Static Public Attributes

static constexpr bool value = false
 True iff a PacketType.

Detailed Description

template<typename enum_type>
struct IsEnumPacketType< enum_type >

Trait to mark an enumeration as a PacketType.

Definition at line 24 of file packet.h.

Field Documentation

◆ value

template<typename enum_type>
bool IsEnumPacketType< enum_type >::value = false
staticconstexpr

True iff a PacketType.

Definition at line 25 of file packet.h.


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