跳至主要內容

Interface: init_config

muzzik小于 1 分钟

index / guide_manage_ / init_config

Interface: init_config

guide_manage_.init_config

初始化配置

Table of contents

Properties

Methods

Properties

current_step_n

Optional current_step_n: number

当前步骤

Defined in

assets/@framework/guide/mk_guide_manage.ts:362open in new window


end_step_n

Optional end_step_n: number

结束步骤

Defined in

assets/@framework/guide/mk_guide_manage.ts:364open in new window


operate_tab

Optional operate_tab: Record<string, operate_cell>

操作表

Defined in

assets/@framework/guide/mk_guide_manage.ts:366open in new window


name_s

Optional name_s: string

引导名

Remarks

用于日志输出

Defined in

assets/@framework/guide/mk_guide_manage.ts:372open in new window

Methods

step_update_callback_f

step_update_callback_f(step_n): any

步骤更新回调

Parameters

NameType
step_nnumber

Returns

any

null/undefined:更新失败中断引导

Remarks

  • 可在此内更新服务端数据并请求奖励

  • 步骤可使用 this.step_update_data 获取返回数据

Defined in

assets/@framework/guide/mk_guide_manage.ts:383open in new window

📣 觉得很赞?分享给你的朋友吧!