mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
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:
parent
c80a90e81e
commit
d3f954bdac
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user