From a18236d06451491be882673514b550c70ddf6b1c Mon Sep 17 00:00:00 2001 From: Alexa <53471801+Alexa-RR@users.noreply.github.com> Date: Wed, 8 Jul 2026 01:04:51 +0300 Subject: [PATCH] fix: Correct AvatarItemId type handling to prevent malformed responses in storefront payload --- docs/recroom-2023-room-consumables.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/recroom-2023-room-consumables.md b/docs/recroom-2023-room-consumables.md index a07e79d..16f86eb 100644 --- a/docs/recroom-2023-room-consumables.md +++ b/docs/recroom-2023-room-consumables.md @@ -162,9 +162,14 @@ since 2020: ConsumableItemDesc (string), AvatarItemDesc (string descriptor), AvatarItemType (int?), EquipmentPrefabName, EquipmentModificationGuid, IsQuery, Unique, SubscribersOnly, Rarity (0/10/20/30/50 enum - BGDEDNBFOCH), AvatarItemId, CurrencyType, Currency (enum EAFDEJBEFJB, + BGDEDNBFOCH), AvatarItemId (**Int32** — putting the descriptor + string here makes the strict reader throw + `expected:'Number Token'` → "Malformed Response" for the whole + storefront payload; the descriptor string belongs in + AvatarItemDesc), CurrencyType, Currency (enum EAFDEJBEFJB, RecCenterTokens=2), Context (GiftContext enum IFKEEPDDNBC), - ItemSetId (int?), ItemSetFriendlyName`. + ItemSetId (int?), ItemSetFriendlyName`. AvatarItemType is the + nullable enum ONHCNMLCFMN (Outfit=0, HairDye=1, CustomOutfit=2). 2. `GET api/storefronts/v1/toptoday` → a **bare `List` of PurchasableItemIds** (client DCFKEFHJAGC.IDCIMNLBINC), resolved