mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-03 04:23:39 +00:00
修复SetScorePacket
类
This commit is contained in:
parent
aa5fbcb521
commit
683b6fd589
@ -142,10 +142,10 @@ namespace ll{
|
|||||||
constexpr uint64_t PLAYERAPI_sendTransferPacket_port = 0X24;
|
constexpr uint64_t PLAYERAPI_sendTransferPacket_port = 0X24;
|
||||||
// Null
|
// Null
|
||||||
constexpr uint64_t PLAYERAPI_sendTransferPacket_address = 0X28;
|
constexpr uint64_t PLAYERAPI_sendTransferPacket_address = 0X28;
|
||||||
// Null
|
// SetScorePacket::mType
|
||||||
constexpr uint64_t PLAYERAPI_sendSetScorePacket_type = 0X30;
|
constexpr uint64_t PLAYERAPI_sendSetScorePacket_type = 0X28;
|
||||||
// Null
|
// SetScorePacket::mScoreInfo
|
||||||
constexpr uint64_t PLAYERAPI_sendSetScorePacket_data = 0X38;
|
constexpr uint64_t PLAYERAPI_sendSetScorePacket_data = 0X30;
|
||||||
// Null
|
// Null
|
||||||
constexpr uint64_t PLAYERAPI_sendCommandRequestPacket_cmd = 0X30;
|
constexpr uint64_t PLAYERAPI_sendCommandRequestPacket_cmd = 0X30;
|
||||||
// Null
|
// Null
|
||||||
|
@ -6,12 +6,18 @@
|
|||||||
|
|
||||||
#define BEFORE_EXTRA
|
#define BEFORE_EXTRA
|
||||||
|
|
||||||
|
enum ScorePacketType {
|
||||||
|
Change = 0x0,
|
||||||
|
Remove_2 = 0x1,
|
||||||
|
};
|
||||||
#undef BEFORE_EXTRA
|
#undef BEFORE_EXTRA
|
||||||
|
|
||||||
class SetScorePacket : public Packet {
|
class SetScorePacket : public Packet {
|
||||||
|
|
||||||
#define AFTER_EXTRA
|
#define AFTER_EXTRA
|
||||||
|
public:
|
||||||
|
ScorePacketType mType;
|
||||||
|
std::vector<ScorePacketInfo> mScoreInfo;
|
||||||
#undef AFTER_EXTRA
|
#undef AFTER_EXTRA
|
||||||
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETSCOREPACKET
|
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETSCOREPACKET
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user