修复SetScorePacket

This commit is contained in:
Qiuzhizhe 2023-03-20 06:59:39 -07:00
parent aa5fbcb521
commit 683b6fd589
2 changed files with 11 additions and 5 deletions

View File

@ -142,10 +142,10 @@ namespace ll{
constexpr uint64_t PLAYERAPI_sendTransferPacket_port = 0X24;
// Null
constexpr uint64_t PLAYERAPI_sendTransferPacket_address = 0X28;
// Null
constexpr uint64_t PLAYERAPI_sendSetScorePacket_type = 0X30;
// Null
constexpr uint64_t PLAYERAPI_sendSetScorePacket_data = 0X38;
// SetScorePacket::mType
constexpr uint64_t PLAYERAPI_sendSetScorePacket_type = 0X28;
// SetScorePacket::mScoreInfo
constexpr uint64_t PLAYERAPI_sendSetScorePacket_data = 0X30;
// Null
constexpr uint64_t PLAYERAPI_sendCommandRequestPacket_cmd = 0X30;
// Null

View File

@ -6,12 +6,18 @@
#define BEFORE_EXTRA
enum ScorePacketType {
Change = 0x0,
Remove_2 = 0x1,
};
#undef BEFORE_EXTRA
class SetScorePacket : public Packet {
#define AFTER_EXTRA
public:
ScorePacketType mType;
std::vector<ScorePacketInfo> mScoreInfo;
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETSCOREPACKET
public: