Update to NeoLegacy Latest
This commit is contained in:
@@ -3,6 +3,9 @@ using namespace std;
|
||||
|
||||
#include "Packet.h"
|
||||
|
||||
#define CreatePayloadKey(identifier, action) identifier L"|" action
|
||||
#define CreateVanillaPayloadKey(action) CreatePayloadKey(L"MC", action)
|
||||
|
||||
class CustomPayloadPacket : public Packet, public enable_shared_from_this<CustomPayloadPacket>
|
||||
{
|
||||
public:
|
||||
@@ -17,6 +20,10 @@ public:
|
||||
static const wstring SET_BEACON_PACKET;
|
||||
static const wstring SET_ITEM_NAME_PACKET;
|
||||
|
||||
// neoLegacy-defined custom packets
|
||||
static const wstring UPDATE_RECIPE_REGISTRY;
|
||||
static const wstring UPDATE_CREATIVE_REGISTRY;
|
||||
|
||||
// Security: stream cipher handshake channels
|
||||
static const wstring CIPHER_KEY_CHANNEL; // server->client: carries 32-byte key (16 AES key + 16 IV)
|
||||
static const wstring CIPHER_ACK_CHANNEL; // client->server: ack (empty payload)
|
||||
@@ -32,8 +39,8 @@ public:
|
||||
static const wstring FORK_PLAYER_LEAVE_CHANNEL; // server->client: player disconnected (payload: UTF gamertag)
|
||||
|
||||
// Fixes for MP related crashes
|
||||
static const wstring QUICK_EQUIP_PACKET;
|
||||
static const wstring QUICK_EQUIP_SERVER_PACKET;
|
||||
//static const wstring QUICK_EQUIP_PACKET;
|
||||
//static const wstring QUICK_EQUIP_SERVER_PACKET;
|
||||
|
||||
static const wstring ENCHANTMENT_LIST_PACKET;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user