@eva/plugin-renderer-dragonbone 2.0.1-beta.4 → 2.0.1-beta.40
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/plugin-renderer-dragonbone.cjs.js +54 -0
- package/dist/plugin-renderer-dragonbone.esm.js +54 -0
- package/package.json +4 -4
- package/dist/EVA.plugin.renderer.dragonbone.min.js +0 -1
- package/dist/global.d.ts +0 -6
- package/dist/plugin-renderer-dragonbone.cjs.prod.js +0 -16
- package/dist/plugin-renderer-dragonbone.d.ts +0 -66
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/// <reference path="./global.d.ts"/>
|
|
2
|
-
import { Component } from '@eva/eva.js';
|
|
3
|
-
import { ComponentChanged } from '@eva/eva.js';
|
|
4
|
-
import { ComponentParams } from '@eva/eva.js';
|
|
5
|
-
import { ContainerManager } from '@eva/plugin-renderer';
|
|
6
|
-
import { Renderer } from '@eva/plugin-renderer';
|
|
7
|
-
import { RendererManager } from '@eva/plugin-renderer';
|
|
8
|
-
import { RendererSystem } from '@eva/plugin-renderer';
|
|
9
|
-
|
|
10
|
-
export declare class DragonBone extends Component<DragonBoneParams> {
|
|
11
|
-
static componentName: string;
|
|
12
|
-
private _armature;
|
|
13
|
-
private waitPlay;
|
|
14
|
-
private waitStop;
|
|
15
|
-
private waitPlayInfo;
|
|
16
|
-
resource: string;
|
|
17
|
-
armatureName: string;
|
|
18
|
-
animationName: string;
|
|
19
|
-
autoPlay: boolean;
|
|
20
|
-
init(obj?: DragonBoneParams): void;
|
|
21
|
-
play(name?: string, times?: number): void;
|
|
22
|
-
stop(name?: string): void;
|
|
23
|
-
set armature(val: DragonBone_2);
|
|
24
|
-
get armature(): DragonBone_2;
|
|
25
|
-
onDestroy(): void;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
declare class DragonBone_2 {
|
|
29
|
-
armature: any;
|
|
30
|
-
factory: any;
|
|
31
|
-
constructor({ armatureName }: {
|
|
32
|
-
armatureName: any;
|
|
33
|
-
});
|
|
34
|
-
play(name: any, time: any): any;
|
|
35
|
-
stop(name: any): any;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export declare interface DragonBoneParams extends ComponentParams {
|
|
39
|
-
resource: string;
|
|
40
|
-
armatureName: string;
|
|
41
|
-
animationName?: string;
|
|
42
|
-
autoPlay?: boolean;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export declare class DragonBoneSystem extends Renderer {
|
|
46
|
-
static systemName: string;
|
|
47
|
-
name: string;
|
|
48
|
-
armatures: {
|
|
49
|
-
[propName: number]: DragonBone_2;
|
|
50
|
-
};
|
|
51
|
-
autoPlay: {
|
|
52
|
-
[propName: number]: boolean;
|
|
53
|
-
};
|
|
54
|
-
renderSystem: RendererSystem;
|
|
55
|
-
rendererManager: RendererManager;
|
|
56
|
-
containerManager: ContainerManager;
|
|
57
|
-
private isRemovedMap;
|
|
58
|
-
init(): void;
|
|
59
|
-
onDestroy(): void;
|
|
60
|
-
componentChanged(changed: ComponentChanged): Promise<void>;
|
|
61
|
-
add(changed: ComponentChanged): Promise<void>;
|
|
62
|
-
change(changed: ComponentChanged): void;
|
|
63
|
-
remove(changed: ComponentChanged): void;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export { }
|