12#ifndef MINESERVER_PINGPONG_H
13#define MINESERVER_PINGPONG_H
68 static void loadLua(lua_State* state,
const char* baseNamespaceName);
Stream interface.
Definition stream.h:32
Interface for all Packets.
Definition packet.h:25
The Ping Pong Packet.
Definition pingpong.h:25
PingPongPacket()
Construct a new Server List Packet object.
Definition pingpong.h:40
long payload
Payload.
Definition pingpong.h:52
static void loadLua(lua_State *state, const char *baseNamespaceName)
Loads this Packet as lua class.
Definition pingpong.cpp:24
~PingPongPacket() override=default
Destroy the Server List Packet object.
void read(IMCStream *stream) override
Read Packet Data.
Definition pingpong.cpp:19
void write(IMCStream *stream) override
Write Packet Data.
Definition pingpong.cpp:14
The file containing the packet data.