Start of property entrance component rewrite

This is very WIP
This commit is contained in:
Jett
2023-10-27 02:17:10 +01:00
parent e4cae35edb
commit 2b1ae4c577
8 changed files with 269 additions and 318 deletions

View File

@@ -0,0 +1,39 @@
#pragma once
#include "Entity.h"
struct PropertyPersonalData final {
bool IsBestFriend;
bool IsFriend;
bool IsModeratorApproved;
bool IsAlt;
bool IsOwned;
};
struct PropertyMetaData final {
uint32_t AccessType;
uint32_t DateLastPublished;
float PerformanceCost;
uint32_t PerformanceIndex;
};
struct PropertyPrimaryData final {
// The below two objects are not serialized with this struct however are used to gather the relative/Personal data of the property.
LWOOBJID OwnerID;
bool IsModeratorApproved;
std::string OwnerName;
std::string Name;
std::string Description;
float Reputation;
};
struct PropertyData {
LWOCLONEID CloneID;
PropertyPrimaryData PrimaryData;
PropertyPersonalData PersonalData;
PropertyMetaData MetaData;
};