Core/Housing: add canonical house state model

This commit is contained in:
Gexo91
2026-09-11 10:41:02 +03:00
parent 3ab50aef37
commit a0adb613ba
+26
View File
@@ -0,0 +1,26 @@
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*/
#ifndef TRINITYCORE_HOUSING_STATE_H
#define TRINITYCORE_HOUSING_STATE_H
#include "Define.h"
#include "ObjectGuid.h"
namespace Housing
{
struct HouseState
{
ObjectGuid HouseGuid;
ObjectGuid CosmeticOwnerGuid;
ObjectGuid NeighborhoodGuid;
uint8 PlotId = 0;
uint32 ExteriorMapId = 0;
uint32 SettingsFlags = 0;
bool HasReservationTime = false;
uint64 ReservationTime = 0;
};
}
#endif // TRINITYCORE_HOUSING_STATE_H