Class: bundle_manage_base
index / bundle_ / bundle_manage_base
Class: bundle_manage_base
bundle_.bundle_manage_base
bundle 管理器基类
Remarks
注意生命周期函数 open、close 会自动执行父类函数再执行子类函数,不必手动 super.xxx 调用
Implements
follow_release_object
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new bundle_manage_base()
Defined in
assets/@framework/resources/mk_bundle.ts:557
Properties
name_s
• Abstract
name_s: string
bundle 名
Defined in
assets/@framework/resources/mk_bundle.ts:592
event
• Abstract
event: event_target
<any
>
事件对象
Defined in
assets/@framework/resources/mk_bundle.ts:594
valid_b
• valid_b: boolean
= false
管理器有效状态
Defined in
assets/@framework/resources/mk_bundle.ts:596
node_pool_tab
• node_pool_tab: Record
<string
, NodePool
>
节点池表
Defined in
assets/@framework/resources/mk_bundle.ts:598
network
• Optional
network: base
<codec_base
>
网络对象
Defined in
assets/@framework/resources/mk_bundle.ts:600
data
• Optional
data: data_sharer
<any
>
数据获取器
Defined in
assets/@framework/resources/mk_bundle.ts:602
_release_manage
• Protected
_release_manage: release
释放管理器
Defined in
assets/@framework/resources/mk_bundle.ts:605
Methods
init
▸ Optional
init(): void
| Promise
<void
>
初始化
Returns
void
| Promise
<void
>
Remarks
从其他 bundle 的场景切换到此 bundle 的场景之前调用
Defined in
assets/@framework/resources/mk_bundle.ts:612
open
▸ open(): void
| Promise
<void
>
打开回调
Returns
void
| Promise
<void
>
Remarks
从其他 bundle 的场景切换到此 bundle 的场景时调用
Defined in
assets/@framework/resources/mk_bundle.ts:619
close
▸ close(): void
| Promise
<void
>
关闭回调
Returns
void
| Promise
<void
>
Remarks
从此 bundle 的场景切换到其他 bundle 的场景时调用
Defined in
assets/@framework/resources/mk_bundle.ts:637
follow_release
▸ follow_release<T
>(object_
): T
Type parameters
Name | Type |
---|---|
T | release_param_type |
Parameters
Name | Type |
---|---|
object_ | T |
Returns
T
Implementation of
mk_release_.follow_release_object.follow_release
Defined in
assets/@framework/resources/mk_bundle.ts:665
cancel_release
▸ cancel_release<T
>(object_
): T
Type parameters
Name | Type |
---|---|
T | release_param_type |
Parameters
Name | Type |
---|---|
object_ | T |
Returns
T
Implementation of
mk_release_.follow_release_object.cancel_release