Class: guide_step_base<CT>
index / guide_step_base
Class: guide_step_base<CT>
引导步骤基类
Type parameters
Name | Type |
---|---|
CT | extends Record <string , operate_cell > = any |
Hierarchy
Component
↳
guide_step_base
Table of contents
Properties
Methods
Properties
step_n
• Abstract
step_n: number
步骤序号
Defined in
assets/@framework/guide/mk_guide_step_base.ts:15
scene_s
• Optional
scene_s: string
所属场景
Remarks
格式:bundle.scene
Defined in
assets/@framework/guide/mk_guide_step_base.ts:21
guide_manage
• guide_manage: guide_manage
引导管理器
Defined in
assets/@framework/guide/mk_guide_step_base.ts:23
operate_ss
• operate_ss: Exclude
<keyof CT
, symbol
>[] = []
操作键列表
Defined in
assets/@framework/guide/mk_guide_step_base.ts:25
operate_tab
• operate_tab: { [k in string | number | symbol]: undefined | ReturnType<Awaited<CT[k]["load"]>> }
操作表返回值
Defined in
assets/@framework/guide/mk_guide_step_base.ts:27
init_data
• init_data: any
初始化数据
Defined in
assets/@framework/guide/mk_guide_step_base.ts:29
step_update_data
• step_update_data: any
步骤更新返回数据
Defined in
assets/@framework/guide/mk_guide_step_base.ts:31
describe_s
• Optional
describe_s: string
步骤描述
Remarks
用于日志打印
Defined in
assets/@framework/guide/mk_guide_step_base.ts:37
next_step_ns
• Optional
next_step_ns: number
[]
下个步骤
Remarks
length == 1:预加载及 this._next 跳转
length > 1:预加载
Defined in
assets/@framework/guide/mk_guide_step_base.ts:46
Methods
pre_load
▸ Optional
pre_load(): void
| Promise
<void
>
预加载
Returns
void
| Promise
<void
>
Remarks
上个步骤 load 后执行
Defined in
assets/@framework/guide/mk_guide_step_base.ts:53
load
▸ Abstract
load(jump_b_
): void
| Promise
<void
>
加载
Parameters
Name | Type | Description |
---|---|---|
jump_b_ | boolean | 跳转状态 |
Returns
void
| Promise
<void
>
Remarks
进入当前步骤
Defined in
assets/@framework/guide/mk_guide_step_base.ts:61
unload
▸ Optional
unload(): void
| Promise
<void
>
卸载
Returns
void
| Promise
<void
>
Remarks
退出当前步骤
Defined in
assets/@framework/guide/mk_guide_step_base.ts:68
_next
▸ Protected
_next(init_data_?
): void
跳转到下个步骤
Parameters
Name | Type | Description |
---|---|---|
init_data_? | any | 下个步骤初始化数据 |
Returns
void