12#ifndef MINESERVER_DISCONNECT_H 
   13#define MINESERVER_DISCONNECT_H 
   57    static void loadLua(lua_State *state, 
const char *baseNamespaceName);
 
 
  100    static void loadLua(lua_State *state, 
const char *baseNamespaceName);
 
 
Minecraft Chat Message implementation.
Definition chatmessage.h:28
 
Disconnect Packet for Login state.
Definition disconnect.h:68
 
void read(IMCStream *stream) override
Reads the packet from the stream.
Definition disconnect.cpp:19
 
ChatMessage reason
the reason for the disconnection
Definition disconnect.h:84
 
DisconnectLogin(const ChatMessage &reason)
Construct a new Disconnect Login object.
Definition disconnect.h:78
 
static void loadLua(lua_State *state, const char *baseNamespaceName)
Loads packet as lua class.
Definition disconnect.cpp:26
 
Disconnect Packet for Play state.
Definition disconnect.h:25
 
static void loadLua(lua_State *state, const char *baseNamespaceName)
Loads packet as lua class.
Definition disconnect.cpp:49
 
void read(IMCStream *stream) override
Reads the packet from the stream.
Definition disconnect.cpp:42
 
ChatMessage reason
The reason for the disconnection.
Definition disconnect.h:41
 
DisconnectPlay(const ChatMessage &reason)
Construct a new Disconnect Play object.
Definition disconnect.h:35
 
Stream interface.
Definition stream.h:32
 
Interface for all Packets.
Definition packet.h:25
 
The file containing the packet data.