changed serialized value to old

I am unsure if this is what gets serialized here so I am reverting this back to a zero.
This commit is contained in:
EmosewaMC 2022-03-30 20:32:59 -07:00
parent c80a90e81e
commit d3f954bdac

View File

@ -69,13 +69,13 @@ void GameMessages::PropertyDataMessage::Serialize(RakNet::BitStream& stream) con
else stream.Write<uint32_t>(REJECTION_STATUS_PENDING);
// Does this go here???
const auto& rejectionReasonConverted = GeneralUtils::ASCIIToUTF16(rejectionReason);
stream.Write(uint32_t(rejectionReasonConverted.size()));
for (uint32_t i = 0; i < rejectionReasonConverted.size(); ++i) {
stream.Write(uint16_t(rejectionReasonConverted[i]));
}
// const auto& rejectionReasonConverted = GeneralUtils::ASCIIToUTF16(rejectionReason);
// stream.Write(uint32_t(rejectionReasonConverted.size()));
// for (uint32_t i = 0; i < rejectionReasonConverted.size(); ++i) {
// stream.Write(uint16_t(rejectionReasonConverted[i]));
// }
// stream.Write<uint32_t>(0);
stream.Write<uint32_t>(0);
stream.Write<uint64_t>(0);