Core/Housing: add canonical house state model
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user