feat: Update appVersion to 2023.03.21 and enhance avatar-item linkage in store service

This commit is contained in:
Alexa
2026-06-28 01:31:21 +03:00
parent e4f683a595
commit f319f641df
7 changed files with 107 additions and 7 deletions
+9
View File
@@ -968,6 +968,15 @@ public class StoreService(DorkNetDbContext db, LevelService level, IConfiguratio
Tooltip = i.Description,
AvatarItemDesc = avatarItemDesc,
AvatarItemDescOrHairDyeDesc = avatarItemDesc,
// AvatarItemId is the field the 2023 client's StoreItemListModel
// actually reads (store-item +0x38) to resolve the card to a baked
// AvatarItem and read its OutfitType for tab placement — verified
// vs 2023 ISIL (EMBCEDNHFLB/CLIANCNHNIE, AvatarItem.GIJPCPDKHPO).
// AvatarItemDesc alone is NOT the join key, so clothing cards
// resolved to OutfitType=-1 and the Shop rendered empty. Ship the
// same {guid},,, descriptor (GIJPCPDKHPO accepts bare {guid} or the
// composite and falls back to parsing it to the immutable Guid).
AvatarItemId = avatarItemDesc,
AvatarItemType = string.IsNullOrEmpty(avatarItemDesc) ? (int?)null : avatarItemType,
ConsumableItemDesc = consumableItemDesc,
EquipmentPrefabName = equipmentPrefabName,