2021-12-05 17:54:36 +00:00
|
|
|
#include "PropertySelectQueryProperty.h"
|
|
|
|
|
|
|
|
void PropertySelectQueryProperty::Serialize(RakNet::BitStream& stream) const {
|
|
|
|
stream.Write(CloneId);
|
|
|
|
|
2023-07-11 07:02:59 +00:00
|
|
|
stream.Write<uint32_t>(OwnerName.size());
|
|
|
|
for (const auto& c : OwnerName) {
|
|
|
|
stream.Write<uint16_t>(c);
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
2023-07-11 07:02:59 +00:00
|
|
|
stream.Write<uint32_t>(Name.size());
|
|
|
|
for (const auto& c : Name) {
|
|
|
|
stream.Write<uint16_t>(c);
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
2023-07-11 07:02:59 +00:00
|
|
|
stream.Write<uint32_t>(Description.size());
|
|
|
|
for (const auto& c : Description) {
|
|
|
|
stream.Write<uint16_t>(c);
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
2022-03-30 02:47:15 +00:00
|
|
|
stream.Write(Reputation);
|
|
|
|
stream.Write(IsBestFriend);
|
|
|
|
stream.Write(IsFriend);
|
|
|
|
stream.Write(IsModeratorApproved);
|
|
|
|
stream.Write(IsAlt);
|
|
|
|
stream.Write(IsOwned);
|
|
|
|
stream.Write(AccessType);
|
|
|
|
stream.Write(DateLastPublished);
|
|
|
|
stream.Write(PerformanceIndex);
|
|
|
|
stream.Write(PerformanceCost);
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|