1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 22:57:45 +00:00

House fixes 2

This commit is contained in:
AriAvery 2018-11-10 19:00:41 +01:00
parent dadc8184e9
commit 6c004eef76
2 changed files with 15 additions and 1 deletions

View file

@ -26,6 +26,12 @@ namespace Core::Common
float z;
};
struct ActiveLand
{
uint8_t ward;
uint8_t plot;
};
enum InventoryOperation : uint8_t
{
Discard = 0x07,
@ -745,6 +751,13 @@ namespace Core::Common
YardSign
};
enum HouseTagSlot
{
MainTag,
SubTag1,
SubTag2
};
//Structs
struct LandStruct
{
@ -770,7 +783,7 @@ namespace Core::Common
struct LandPermissionSet
{
int16_t landSetId; //00
int16_t landId; //00
int16_t wardNum; //02
int16_t zoneId; //04
int16_t worldId; //06

View file

@ -20,6 +20,7 @@ namespace Core {
TYPE_FORWARD( Cell );
TYPE_FORWARD( Zone );
TYPE_FORWARD( HousingZone );
TYPE_FORWARD( HousingMgr );
TYPE_FORWARD( InstanceContent );
TYPE_FORWARD( Item );
TYPE_FORWARD( ItemContainer );