From 9f162845953451272f71126dcd659b50b0cc1c52 Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Tue, 29 Mar 2022 19:47:15 -0700 Subject: [PATCH] tab spacing --- .../PropertySelectQueryProperty.cpp | 19 ++++++++++--------- .../PropertySelectQueryProperty.h | 3 ++- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/dGame/dGameMessages/PropertySelectQueryProperty.cpp b/dGame/dGameMessages/PropertySelectQueryProperty.cpp index 78b7198d..6a66554d 100644 --- a/dGame/dGameMessages/PropertySelectQueryProperty.cpp +++ b/dGame/dGameMessages/PropertySelectQueryProperty.cpp @@ -23,15 +23,16 @@ void PropertySelectQueryProperty::Serialize(RakNet::BitStream& stream) const stream.Write(static_cast(description[i])); } - 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(PerformanceCost); + 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); } void PropertySelectQueryProperty::Deserialize(RakNet::BitStream& stream) const diff --git a/dGame/dGameMessages/PropertySelectQueryProperty.h b/dGame/dGameMessages/PropertySelectQueryProperty.h index f451ae31..61fa7b86 100644 --- a/dGame/dGameMessages/PropertySelectQueryProperty.h +++ b/dGame/dGameMessages/PropertySelectQueryProperty.h @@ -21,5 +21,6 @@ public: bool IsOwned = false; // Whether or not the property is owned uint32_t AccessType = 0; // The privacy option of the property uint32_t DateLastPublished = 0; // The last day the property was published - uint64_t PerformanceCost = 0; // The performance cost of the property + float PerformanceCost = 0; // The performance cost of the property + uint32_t PerformanceIndex = 0; // The performance index of the property? Always 0? };