|  | Mineserver
                 A rewrite of Minecraft 1.8.9 in C++ ! | 
Login Start Packet. More...
#include <loginstartend.h>
 
  
| Public Member Functions | |
| LoginStart () | |
| Construct a new Login Start object. | |
| void | read (IMCStream *stream) override | 
| Reads Packet data. | |
|  Public Member Functions inherited from IPacket | |
| virtual | ~IPacket ()=default | 
| Destroy the IPacket object. | |
| void | send (IMCStream *stream) | 
| Sends a Packet in Minecraft format. | |
| Static Public Member Functions | |
| static void | loadLua (lua_State *state, const char *baseNamespaceName) | 
| Loads Packet to lua. | |
| Public Attributes | |
| std::string | name | 
| Name of the player. | |
|  Public Attributes inherited from IPacket | |
| int | id | 
| Packet Id. | |
| Additional Inherited Members | |
|  Protected Member Functions inherited from IPacket | |
| IPacket (int id) | |
| Construct a new IPacket object. | |
Login Start Packet.
Packet sent by the client containing initial player name as well as a signal to start encryption.
Loads Packet to lua.
| state | lua state to load to | 
| baseNamespaceName | base namespace to register to | 
| std::string LoginStart::name | 
Name of the player.
Name of the player of the client connecting to the server.