This commit is contained in:
PC-20230316NUNE\Administrator
2024-01-20 19:01:45 +08:00
parent 8af1ac9484
commit c6710e7dfa
78 changed files with 10027 additions and 4250 deletions

View File

@@ -1165,8 +1165,8 @@ export class TbGGift {
this.limit = _json_.limit
if (_json_.limitValue === undefined) { throw new Error() }
this.limitValue = _json_.limitValue
if (_json_.price === undefined) { throw new Error() }
this.price = _json_.price
if (_json_.exchanges === undefined) { throw new Error() }
{ this.exchanges = []; for(let _ele of _json_.exchanges) { let _e; _e = new TbGEntity.TResource(_ele); this.exchanges.push(_e);}}
if (_json_.rewards === undefined) { throw new Error() }
{ this.rewards = []; for(let _ele of _json_.rewards) { let _e; _e = new TbGEntity.TReward(_ele); this.rewards.push(_e);}}
}
@@ -1192,9 +1192,9 @@ export class TbGGift {
*/
readonly limitValue: number
/**
* 价格
* 兑换的资源
*/
readonly price: number
readonly exchanges: TbGEntity.TResource[]
/**
* 奖励
*/