feat: save EquippedEmotes (#449)

This commit is contained in:
Sainan 2024-07-03 12:33:09 +02:00 committed by GitHub
parent de6745ce19
commit e7889fc8c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -167,8 +167,9 @@ export const handleInventoryItemConfigChange = async (
inventory.CurrentLoadOutIds = loadoutIds; inventory.CurrentLoadOutIds = loadoutIds;
break; break;
} }
case "EquippedGear": { case "EquippedGear":
inventory.EquippedGear = equipment as string[]; case "EquippedEmotes": {
inventory[equipmentName] = equipment as string[];
break; break;
} }
case "UseAdultOperatorLoadout": { case "UseAdultOperatorLoadout": {

View File

@ -33,6 +33,7 @@ export interface ISaveLoadoutRequest {
CurrentLoadOutIds: IOid[]; CurrentLoadOutIds: IOid[];
ValidNewLoadoutId: string; ValidNewLoadoutId: string;
EquippedGear: string[]; EquippedGear: string[];
EquippedEmotes: string[];
UseAdultOperatorLoadout: boolean; UseAdultOperatorLoadout: boolean;
} }