feat: implement purchasing of skins #353

Merged
Sainan merged 4 commits from buy-skins into main 2024-06-22 14:19:07 -07:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit d793ff44fd - Show all commits

View File

@ -108,7 +108,7 @@ export const addItem = async (
if (typeName in ExportCustoms) { if (typeName in ExportCustoms) {
return { return {
InventoryChanges: { InventoryChanges: {
WeaponSkins: [ await addSkin(typeName, accountId) ] WeaponSkins: [await addSkin(typeName, accountId)]
} }
}; };
} }

View File

@ -849,7 +849,7 @@ export interface ITauntHistory {
} }
export interface IWeaponSkinDatabase { export interface IWeaponSkinDatabase {
ItemType: string; ItemType: string;
} }
export interface IWeaponSkin extends IWeaponSkinDatabase { export interface IWeaponSkin extends IWeaponSkinDatabase {