|  | Mineserver
                 A rewrite of Minecraft 1.8.9 in C++ ! | 
Encryption Request Packet. More...
#include <encryptionexchange.h>
 
  
| Public Member Functions | |
| EncryptionRequest (std::byte *verifyToken, int verifyTokenLength) | |
| Construct a new Encryption Request object. | |
| ~EncryptionRequest () override=default | |
| Destroy the Encryption Request object. | |
| void | read (IMCStream *stream) override | 
|  Public Member Functions inherited from IPacket | |
| virtual | ~IPacket ()=default | 
| Destroy the IPacket object. | |
| void | send (IMCStream *stream) | 
| Sends a Packet in Minecraft format. | |
| Public Attributes | |
| std::byte * | verifyToken | 
| The pointer to the verify token. | |
| int | verifyTokenLength | 
| The length of the verify token. | |
|  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. | |
Encryption Request Packet.
Used in protocol encryption scheme, for the server to ask to the client.
It is not exposed to lua for security reasons. A plugin should not handle encryption and stuff.
| 
 | inline | 
Construct a new Encryption Request object.
| verifyToken | the verify token pointer | 
| verifyTokenLength | the length of the verify token | 
Implements IPacket.