xy-server/game/object/ShopItem.ts
2025-04-23 09:34:08 +08:00

26 lines
724 B
TypeScript

import GameUtil from "../core/GameUtil";
export default class ShopItem {
nID:any;
nConfigID:any;
nKind:any;
nSubKind:any;
strJson:any;
nSeller:any;
nAddTime:any;
nPrice:any;
nCnt:any;
nSellCnt:any;
constructor(nID:any, nConfigID:any, nKind:any, nSubKind:any, strJson:any, nSeller:any, nAddTime:any, nPrice:any, nCnt:any, nSellCnt:any) {
this.nID = nID;
this.nConfigID = nConfigID;
this.nKind = nKind;
this.nSubKind = nSubKind;
this.strJson = GameUtil.getDefault(strJson, '');
this.nSeller = nSeller;
this.nAddTime = nAddTime;
this.nPrice = nPrice;
this.nCnt = nCnt;
this.nSellCnt = nSellCnt;
}
}