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

marketboard packets

This commit is contained in:
NotAdam 2018-12-02 23:40:18 +11:00
parent b89a21120a
commit f61c6dd5e9
2 changed files with 16 additions and 5 deletions

View file

@ -97,7 +97,8 @@ namespace Sapphire::Network::Packets
ReqMoogleMailLetter = 0x011A, // updated 4.4 ReqMoogleMailLetter = 0x011A, // updated 4.4
MailLetterNotification = 0x011B, // updated 4.4 MailLetterNotification = 0x011B, // updated 4.4
MarketBoardItemSummaryListResponse = 0x0125, // updated 4.4 MarketBoardItemListingCountResponse = 0x011C, // updated 4.4
MarketBoardSearchResultResponse = 0x0125, // updated 4.4
CharaFreeCompanyTag = 0x0127, // updated 4.4 CharaFreeCompanyTag = 0x0127, // updated 4.4
FreeCompanyBoardMsg = 0x0128, // updated 4.4 FreeCompanyBoardMsg = 0x0128, // updated 4.4

View file

@ -1830,12 +1830,12 @@ struct FFXIVIpcDuelChallenge :
char otherName[32]; char otherName[32];
}; };
struct FFXIVIpcMarketBoardItemSummaryListResponse : struct FFXIVIpcMarketBoardSearchResultResponse :
FFXIVIpcBasePacket< MarketBoardItemSummaryListResponse > FFXIVIpcBasePacket< MarketBoardSearchResultResponse >
{ {
struct MarketBoardItemSummary struct MarketBoardItem
{ {
uint32_t itemId; uint32_t itemCatalogId;
uint32_t quantity; uint32_t quantity;
} items[20]; } items[20];
@ -1845,6 +1845,16 @@ struct FFXIVIpcMarketBoardItemSummaryListResponse :
uint32_t padding2; uint32_t padding2;
}; };
struct FFFXIVIpcMarketBoardItemListingCountResponse :
FFXIVIpcBasePacket< MarketBoardItemListingCountResponse >
{
uint32_t itemCatalogId;
uint32_t unknown1; // does some shit if nonzero
uint16_t unknown2;
uint16_t quantity; // high/low u8s read separately?
uint32_t padding3;
};
} /* Server */ } /* Server */
} /* Packets */ } /* Packets */