mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交
This commit is contained in:
@@ -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[]
|
||||
/**
|
||||
* 奖励
|
||||
*/
|
||||
|
Reference in New Issue
Block a user