mal-packet-weaver
C++20 packet serialization/deserialization library.
|
Helper class for registering a packet type with the PacketFactory. More...
#include "packet-factory.hpp"
Public Member Functions | |
PacketTypeRegistrationHelper () | |
Constructor. Registers the packet type with the PacketFactory. | |
Helper class for registering a packet type with the PacketFactory.
This class is used to register a specific packet type with the PacketFactory during static initialization. It ensures that the packet type is registered with the PacketFactory before the main function is called.
T | The packet type to be registered. |
Definition at line 146 of file packet-factory.hpp.
|
inline |
Constructor. Registers the packet type with the PacketFactory.
Definition at line 151 of file packet-factory.hpp.