12#ifndef MINESERVER_LOGINSTARTEND_H
13#define MINESERVER_LOGINSTARTEND_H
67 static void loadLua(lua_State *state,
const char *baseNamespaceName);
124 static void loadLua(lua_State *state,
const char *baseNamespaceName);
Stream interface.
Definition stream.h:32
Interface for all Packets.
Definition packet.h:25
Login Start Packet.
Definition loginstartend.h:29
void read(IMCStream *stream) override
Reads Packet data.
Definition loginstartend.cpp:21
static void loadLua(lua_State *state, const char *baseNamespaceName)
Loads Packet to lua.
Definition loginstartend.cpp:26
LoginStart()
Construct a new Login Start object.
Definition loginstartend.h:44
std::string name
Name of the player.
Definition loginstartend.h:52
Login Success Packet.
Definition loginstartend.h:78
std::string username
Username of the player.
Definition loginstartend.h:102
void read(IMCStream *stream) override
Reads Packet Data.
Definition loginstartend.cpp:43
static void loadLua(lua_State *state, const char *baseNamespaceName)
Loads Packet to lua state.
Definition loginstartend.cpp:50
MinecraftUUID uuid
MinecraftUUID of the player.
Definition loginstartend.h:108
LoginSuccess(std::string username, const MinecraftUUID &uuid)
Construct a new Login Success object.
Definition loginstartend.h:94
MinecraftUUID compliant data holder.
Definition uuid.h:27
The file containing the packet data.
The file containing MinecraftUUID logic.