修复TransferPacket

This commit is contained in:
Qiuzhizhe 2023-03-20 07:00:16 -07:00
parent 683b6fd589
commit 3f189db4ae
2 changed files with 6 additions and 4 deletions

View File

@ -138,9 +138,9 @@ namespace ll{
constexpr uint64_t PLAYERAPI_getClientSubId = 0xDC0;
// Null
constexpr uint64_t PLAYERAPI_crashClient = 0X38;
// Null
constexpr uint64_t PLAYERAPI_sendTransferPacket_port = 0X24;
// Null
// TransferPacket::mServerPort
constexpr uint64_t PLAYERAPI_sendTransferPacket_port = 0X48;
// TransferPacket::mServerAddress
constexpr uint64_t PLAYERAPI_sendTransferPacket_address = 0X28;
// SetScorePacket::mType
constexpr uint64_t PLAYERAPI_sendSetScorePacket_type = 0X28;

View File

@ -12,7 +12,9 @@ class TransferPacket : public Packet {
#define AFTER_EXTRA
// Add Member There
char filler[40];
public:
std::string mServerAddress;
int mServerPort;
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRANSFERPACKET
public: