keytops-game-framework 1.0.5 → 1.0.7

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.
@@ -1,3 +1,4 @@
1
+ import { PublisherAppInfoStruct } from "../module/publisher/IPublisher";
1
2
  /**
2
3
  * 版本号
3
4
  */
@@ -21,15 +22,23 @@ export declare class Application {
21
22
  private _sessionId;
22
23
  /**
23
24
  * 启动框架
25
+ * @debug:boolean 是否开启调试模式
24
26
  * @injects?:any[] 注册类
25
- * @enableBidding?:boolean 是否启用直投,默认为false
26
27
  * @returns
27
28
  */
28
- launch(data?: {
29
+ launch(debug?: boolean, data?: {
30
+ /**
31
+ * 注册类
32
+ */
29
33
  injects?: any[];
34
+ /**
35
+ * 自定义的App信息,debug为true时才生效。
36
+ */
37
+ customAppInfo?: PublisherAppInfoStruct;
30
38
  }): Promise<void>;
31
39
  reset(): void;
32
40
  private _resetLaunchTimes;
41
+ protected _injectsInternal(debug: boolean, customAppInfo?: PublisherAppInfoStruct): void;
33
42
  /**
34
43
  * 注入组件
35
44
  * @param injects