商品数据

This commit is contained in:
chen wei bo
2025-08-26 11:10:30 +08:00
parent cf334ea439
commit 1c010f3f7c
7 changed files with 278 additions and 3 deletions
@@ -10,6 +10,7 @@ import { MetaData } from "./MetaData";
import { NetTimeData } from "./NetTimeData";
import { ThemeData } from "./ThemeData";
import { WalletData } from "./WalletData";
import { ShopData } from "./ShopData";
/**
* ID
@@ -22,6 +23,7 @@ export enum DataId {
NetTime = "netTime",
Theme = "theme",
Wallet = "wallet",
Shop = "shop",
}
/** 构造器类型 */
@@ -54,6 +56,7 @@ export class DataManager {
this.register(DataId.NetTime, NetTimeData);
this.register(DataId.Theme, ThemeData);
this.register(DataId.Wallet, WalletData);
this.register(DataId.Shop, ShopData);
}
/**