Merge remote-tracking branch 'upstream/main' into cmake-packages

This commit is contained in:
jadebenn
2024-11-26 22:43:14 -06:00
17 changed files with 316 additions and 281 deletions

View File

@@ -29,10 +29,10 @@ void PropertySelectQueryProperty::Serialize(RakNet::BitStream& stream) const {
stream.Write(IsOwned);
stream.Write(AccessType);
stream.Write(DateLastPublished);
stream.Write(PerformanceIndex);
stream.Write(PerformanceCost);
}
void PropertySelectQueryProperty::Deserialize(RakNet::BitStream& stream) const {
// Do we need this?
// no
}

View File

@@ -5,8 +5,7 @@
#include "Entity.h"
class PropertySelectQueryProperty final
{
class PropertySelectQueryProperty final {
public:
void Serialize(RakNet::BitStream& stream) const;
@@ -23,9 +22,8 @@ public:
bool IsAlt = false; // Whether or not the property is owned by an alt of the account owner
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 DateLastPublished = 0; // The last day the property was published
float PerformanceCost = 0; // The performance cost of the property
uint32_t PerformanceIndex = 0; // The performance index of the property? Always 0?
};
#endif