@shimotsuki/core 3.0.14 → 3.0.16
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.
- package/dist/index.d.ts +2 -1
- package/dist/shimotsuki_core.js +2426 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Node, Prefab, Vec3, Quat, math, Layers, AudioClip, AudioSource, Label, Button, Scene, SceneAsset, AsyncDelegate, Asset, Constructor,
|
|
1
|
+
import { Component, Node, Prefab, Vec3, Quat, math, Layers, AudioClip, AudioSource, Label, Button, AssetManager, Scene, SceneAsset, AsyncDelegate, Asset, Constructor, SpriteFrame, Sprite } from 'cc';
|
|
2
2
|
import EventEmitter from 'eventemitter3';
|
|
3
3
|
import { IReactionPublic, IReactionOptions } from '@shimotsuki/mobx';
|
|
4
4
|
import { SocialGameClient, SocialGameClientOption, AllEventResponsePairs, ClientOption, MessageFns, AudienceOptions } from 'sgc';
|
|
@@ -512,6 +512,7 @@ declare class Gui extends BaseComponent {
|
|
|
512
512
|
showNotice(option: CoreNoticeProps): this;
|
|
513
513
|
/**隐藏公告 */
|
|
514
514
|
hideNotice(): this;
|
|
515
|
+
findBundleBySceneUUID(sceneUUID: string): AssetManager.Bundle | null;
|
|
515
516
|
/**
|
|
516
517
|
* 加载并切换游戏场景
|
|
517
518
|
* @param sceneName 场景名称、场景实例或场景资源,用于指定要加载的场景
|