1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00

Merge pull request #593 from karashiiro/develop

MarketTaxRates packet opcode and structure
This commit is contained in:
Adam 2019-11-02 14:55:02 +11:00 committed by GitHub
commit 4fdcc50898
3 changed files with 13 additions and 0 deletions

View file

@ -27,6 +27,8 @@ namespace Sapphire::Common
const uint8_t CLASSJOB_TOTAL = 38;
const uint8_t CLASSJOB_SLOTS = 28;
const uint8_t TOWN_COUNT = 6;
/*!
* @brief The maximum length (in ms) of a combo before it is canceled/voided.
*

View file

@ -110,6 +110,8 @@ namespace Sapphire::Network::Packets
ReqMoogleMailLetter = 0x0139, // updated 5.0
MailLetterNotification = 0x013A, // updated 5.0
MarketTaxRates = 0x0076, // added 5.1
MarketBoardItemListingCount = 0x013B, // updated 5.0
MarketBoardItemListing = 0x036A, // updated 5.1
MarketBoardItemListingHistory = 0x0194, // updated 5.1

View file

@ -283,6 +283,15 @@ namespace Sapphire::Network::Packets::Server
char unk2[0x4]; // This has probs something to do with the support desk (inquiry id?)
};
struct FFFXIVIpcMarketTaxRates : FFXIVIpcBasePacket< MarketTaxRates >
{
uint32_t unknown1;
uint16_t padding1;
uint16_t unknown2;
uint32_t taxRate[Common::TOWN_COUNT]; // In the order of Common::Town
uint64_t unknown3;
};
struct FFFXIVIpcMarketBoardItemListingCount : FFXIVIpcBasePacket< MarketBoardItemListingCount >
{
uint32_t itemCatalogId;