diff --git a/LiteLoader/include/llapi/Offset.h b/LiteLoader/include/llapi/Offset.h index f185e10..d59f0b5 100644 --- a/LiteLoader/include/llapi/Offset.h +++ b/LiteLoader/include/llapi/Offset.h @@ -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; diff --git a/LiteLoader/include/llapi/mc/TransferPacket.hpp b/LiteLoader/include/llapi/mc/TransferPacket.hpp index b484ea6..3f68911 100644 --- a/LiteLoader/include/llapi/mc/TransferPacket.hpp +++ b/LiteLoader/include/llapi/mc/TransferPacket.hpp @@ -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: