mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
LandIdent now uses signed ints, rename housing clienttriggers, fix formatting
This commit is contained in:
parent
6ca213f437
commit
6af13f39a3
4 changed files with 9 additions and 9 deletions
|
@ -803,10 +803,10 @@ namespace Sapphire::Common
|
||||||
|
|
||||||
struct LandIdent
|
struct LandIdent
|
||||||
{
|
{
|
||||||
uint16_t landId; //00
|
int16_t landId; //00
|
||||||
uint16_t wardNum; //02
|
int16_t wardNum; //02
|
||||||
uint16_t territoryTypeId; //04
|
int16_t territoryTypeId; //04
|
||||||
uint16_t worldId; //06
|
int16_t worldId; //06
|
||||||
};
|
};
|
||||||
|
|
||||||
struct LandFlagSet
|
struct LandFlagSet
|
||||||
|
|
|
@ -311,13 +311,13 @@ enum ActorControlType : uint16_t
|
||||||
RequestLandSignOwned = 0x452,
|
RequestLandSignOwned = 0x452,
|
||||||
RequestWardLandInfo = 0x453,
|
RequestWardLandInfo = 0x453,
|
||||||
RequestLandRelinquish = 0x454,
|
RequestLandRelinquish = 0x454,
|
||||||
RequestExternalHousingInventory = 0x0458,
|
RequestHousingLandInventory = 0x0458,
|
||||||
RequestEstateRename = 0x45A,
|
RequestEstateRename = 0x45A,
|
||||||
RequestEstateEditGreeting = 0x45B,
|
RequestEstateEditGreeting = 0x45B,
|
||||||
RequestEstateGreeting = 0x45C, // sends FFXIVIpcHousingEstateGreeting in return
|
RequestEstateGreeting = 0x45C, // sends FFXIVIpcHousingEstateGreeting in return
|
||||||
RequestEstateEditGuestAccessSettings = 0x45D,
|
RequestEstateEditGuestAccessSettings = 0x45D,
|
||||||
RequestEstateTagSettings = 0x45F,
|
RequestEstateTagSettings = 0x45F,
|
||||||
RequestInternalHousingInventory = 0x0461,
|
RequestHousingEstateInventory = 0x0461,
|
||||||
RequestHousingItemUI = 0x463,
|
RequestHousingItemUI = 0x463,
|
||||||
RequestSharedEstateSettings = 0x46F,
|
RequestSharedEstateSettings = 0x46F,
|
||||||
UpdateEstateLightingLevel = 0x471,
|
UpdateEstateLightingLevel = 0x471,
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
extern Sapphire::Framework g_fw;
|
extern Sapphire::Framework g_fw;
|
||||||
|
|
||||||
Sapphire::ItemContainer::ItemContainer( uint16_t storageId, uint16_t maxSize, const std::string& tableName,
|
Sapphire::ItemContainer::ItemContainer( uint16_t storageId, uint16_t maxSize, const std::string& tableName,
|
||||||
bool isMultiStorage, bool isPersistentStorage ) :
|
bool isMultiStorage, bool isPersistentStorage ) :
|
||||||
m_id( storageId ),
|
m_id( storageId ),
|
||||||
m_size( maxSize ),
|
m_size( maxSize ),
|
||||||
m_tableName( tableName ),
|
m_tableName( tableName ),
|
||||||
|
|
|
@ -421,7 +421,7 @@ void Sapphire::Network::GameConnection::clientTriggerHandler( const Packets::FFX
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ClientTriggerType::RequestExternalHousingInventory:
|
case ClientTriggerType::RequestHousingLandInventory:
|
||||||
{
|
{
|
||||||
if( param2 != 1 )
|
if( param2 != 1 )
|
||||||
return;
|
return;
|
||||||
|
@ -436,7 +436,7 @@ void Sapphire::Network::GameConnection::clientTriggerHandler( const Packets::FFX
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ClientTriggerType::RequestInternalHousingInventory:
|
case ClientTriggerType::RequestHousingEstateInventory:
|
||||||
{
|
{
|
||||||
// only sent if param1 is 1, because the client sends this with 0 when you open the ui for whatever reason
|
// only sent if param1 is 1, because the client sends this with 0 when you open the ui for whatever reason
|
||||||
if( param1 != 1 )
|
if( param1 != 1 )
|
||||||
|
|
Loading…
Add table
Reference in a new issue