# Interface: GetPotentialExchangeOptionsByItemsParams
• GetPotentialExchangeOptionsByItemsParams()
# Properties
# Readonly itemTypeIdsToExchange
• itemTypeIdsToExchange: keyof number[]
要用于兑换的物品种类 ID (列表)
Returns: keyof number[]
# Methods
# Optional complete
▸ complete(this: void, res: GetPotentialExchangeOptionsByItemsRes | MogsError): void
Inherited from GetUserSignParams.complete
操作完成时(成功或失败),均会调用该回调函数
# 参数:
| 属性 | 类型 |
|---|---|
this | void |
res | GetPotentialExchangeOptionsByItemsRes | MogsError |
# 返回值:
void
# Optional fail
▸ fail(this: void, error: MogsError): void
Inherited from GetUserSignParams.fail
操作失败时,调用该回调函数
# 参数:
| 属性 | 类型 |
|---|---|
this | void |
error | MogsError |
# 返回值:
void
# Optional success
▸ success(this: void, res: GetPotentialExchangeOptionsByItemsRes): void
Inherited from GetUserSignParams.success
操作成功时,调用该回调函数
# 参数:
| 属性 | 类型 |
|---|---|
this | void |
res | GetPotentialExchangeOptionsByItemsRes |
GetPotentialExchangeOptionsByItemsRes
| 属性 | 类型 | 描述 |
|---|---|---|
eventList? | keyof MogsEvent | 当前 Action 所触发的所有事件的列表 |
potentialExchangeOptions | keyof ReadonlyWithExtensions | 所有符合消耗物品种类要求的兑换方案(列表) |
# 返回值:
void