Core/PacketIO: Rename a few unknown fields

This commit is contained in:
Shauren
2026-08-18 00:07:13 +02:00
parent ec4d54360d
commit 9f0555dbc0
6 changed files with 12 additions and 11 deletions
@@ -474,7 +474,7 @@ ByteBuffer& operator<<(ByteBuffer& data, LeaverInfo const& leaverInfo)
data << int32(leaverInfo.ConsecutiveSuccesses); data << int32(leaverInfo.ConsecutiveSuccesses);
data << leaverInfo.LastPenaltyTime; data << leaverInfo.LastPenaltyTime;
data << leaverInfo.LeaverExpirationTime; data << leaverInfo.LeaverExpirationTime;
data << int32(leaverInfo.Unknown_1120); data << int32(leaverInfo.Flags);
data << Bits<1>(leaverInfo.LeaverStatus); data << Bits<1>(leaverInfo.LeaverStatus);
data.FlushBits(); data.FlushBits();
@@ -518,7 +518,7 @@ namespace WorldPackets
int32 ConsecutiveSuccesses = 0; int32 ConsecutiveSuccesses = 0;
Timestamp<> LastPenaltyTime; Timestamp<> LastPenaltyTime;
Timestamp<> LeaverExpirationTime; Timestamp<> LeaverExpirationTime;
int32 Unknown_1120 = 0; int32 Flags = 0;
bool LeaverStatus = false; bool LeaverStatus = false;
}; };
@@ -518,7 +518,7 @@ WorldPacket const* QuestGiverQuestDetails::Write()
_worldPacket << SizedString::BitsSize<8>(PortraitTurnInName); _worldPacket << SizedString::BitsSize<8>(PortraitTurnInName);
_worldPacket << Bits<1>(AutoLaunched); _worldPacket << Bits<1>(AutoLaunched);
_worldPacket << Bits<1>(FromContentPush); _worldPacket << Bits<1>(FromContentPush);
_worldPacket << Bits<1>(false); // unused in client _worldPacket << Bits<1>(ReplayQuest);
_worldPacket << Bits<1>(ResetByScheduler); _worldPacket << Bits<1>(ResetByScheduler);
_worldPacket << Bits<1>(StartCheat); _worldPacket << Bits<1>(StartCheat);
_worldPacket << Bits<1>(DisplayPopup); _worldPacket << Bits<1>(DisplayPopup);
@@ -461,6 +461,7 @@ namespace WorldPackets
std::vector<ConditionalQuestText> ConditionalDescriptionText; std::vector<ConditionalQuestText> ConditionalDescriptionText;
bool AutoLaunched = false; bool AutoLaunched = false;
bool FromContentPush = false; bool FromContentPush = false;
bool ReplayQuest = false;
bool ResetByScheduler = false; bool ResetByScheduler = false;
bool StartCheat = false; bool StartCheat = false;
bool DisplayPopup = false; bool DisplayPopup = false;
@@ -256,10 +256,10 @@ ByteBuffer& operator>>(ByteBuffer& data, SupportTicketHouseInfo& houseInfo)
data >> SizedString::BitsSize<8>(houseInfo.NeighborhoodName); data >> SizedString::BitsSize<8>(houseInfo.NeighborhoodName);
data >> houseInfo.Unknown_1127_1; data >> houseInfo.NeighborhoodGUID;
data >> houseInfo.Unknown_1127_2; data >> houseInfo.NeighborhoodOwnerGUID;
data >> houseInfo.Unknown_1127_3; data >> houseInfo.HouseGUID;
data >> houseInfo.Unknown_1127_4; data >> houseInfo.PlotID;
data >> SizedString::Data(houseInfo.NeighborhoodName); data >> SizedString::Data(houseInfo.NeighborhoodName);
@@ -214,10 +214,10 @@ namespace WorldPackets
struct SupportTicketHouseInfo struct SupportTicketHouseInfo
{ {
std::string NeighborhoodName; std::string NeighborhoodName;
ObjectGuid Unknown_1127_1; ObjectGuid NeighborhoodGUID;
ObjectGuid Unknown_1127_2; ObjectGuid NeighborhoodOwnerGUID;
ObjectGuid Unknown_1127_3; ObjectGuid HouseGUID;
uint8 Unknown_1127_4 = 0; uint8 PlotID = 0;
}; };
class SupportTicketSubmitComplaint final : public ClientPacket class SupportTicketSubmitComplaint final : public ClientPacket