1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-22 18:07:44 +00:00

MarketTaxRates packet opcode and structure

This commit is contained in:
karashiiro 2019-11-01 09:22:43 -07:00
parent e38c3a318f
commit a3e15c22e4
3 changed files with 12 additions and 0 deletions

View file

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

View file

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

View file

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