@cc-component/cc-guide 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -33,7 +33,7 @@ export class GuideCenter {
|
|
|
33
33
|
|
|
34
34
|
callClick: (step: number) => void;
|
|
35
35
|
callJumpWindow: (urls: string[]) => void;
|
|
36
|
-
callFinishGroup: (
|
|
36
|
+
callFinishGroup: (param: ITableGuide) => void;
|
|
37
37
|
/** 游戏初始化模块 */
|
|
38
38
|
guide: Guide = null!;
|
|
39
39
|
node: Node;
|
|
@@ -208,7 +208,7 @@ export class GuideCenter {
|
|
|
208
208
|
this.step = 100000
|
|
209
209
|
step_net = this.step;
|
|
210
210
|
}
|
|
211
|
-
GuideModule.GuideCenter.callFinishGroup?.(curren.data
|
|
211
|
+
GuideModule.GuideCenter.callFinishGroup?.(curren.data)
|
|
212
212
|
this.callMessageNet?.(step_net, () => { }) //功能引导
|
|
213
213
|
}
|
|
214
214
|
else {
|
|
@@ -324,7 +324,7 @@ export class GuideCenter {
|
|
|
324
324
|
OnMessageJumpWindow(call: (urls: string[]) => void) {
|
|
325
325
|
this.callJumpWindow = call
|
|
326
326
|
}
|
|
327
|
-
OnMessageFinishGroup(call: (
|
|
327
|
+
OnMessageFinishGroup(call: (param: ITableGuide) => void) {
|
|
328
328
|
this.callFinishGroup = call
|
|
329
329
|
}
|
|
330
330
|
|
|
@@ -24,7 +24,7 @@ class GuideModule {
|
|
|
24
24
|
static OnMessageStepNet(call: (step: number, finish: Function) => void) { GuideCenter.instance.OnMessageStepNet(call) }
|
|
25
25
|
static OnMessageClick(call: (step: number) => void) { GuideCenter.instance.OnMessageClick(call) }
|
|
26
26
|
static OnMessageJumpWindow(call: (urls: string[]) => void) { GuideCenter.instance.OnMessageJumpWindow(call) }
|
|
27
|
-
static OnMessageFinishGroup(call: (
|
|
27
|
+
static OnMessageFinishGroup(call: (param: ITableGuide) => void) { GuideCenter.instance.OnMessageFinishGroup(call) }
|
|
28
28
|
/**是否引导中 */
|
|
29
29
|
static GuideShow(): boolean { return GuideSDK.GuideShow() };
|
|
30
30
|
|
|
@@ -27,7 +27,7 @@ declare global {
|
|
|
27
27
|
/**监听跳转界面 */
|
|
28
28
|
function OnMessageJumpWindow(call: (urls: string[]) => void)
|
|
29
29
|
/**监听完成引导组引导 */
|
|
30
|
-
function OnMessageFinishGroup(call: (
|
|
30
|
+
function OnMessageFinishGroup(call: (param: ITableGuide) => void)
|
|
31
31
|
/**是否引导中 */
|
|
32
32
|
function GuideShow(): boolean;
|
|
33
33
|
/**开启日志打印 */
|