mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-10 12:46:56 +08:00
17 lines
632 B
TypeScript
17 lines
632 B
TypeScript
|
|
/** Utility class for scripting APIs intended for the Addon SDK. */
|
|
declare class ISDKUtils
|
|
{
|
|
addLoadPromise(promise: Promise<void>): void;
|
|
|
|
sendWrapperExtensionMessage(wrapperComponentId: string, messageId: string, params?: WrapperExtensionParameterType[]): void;
|
|
sendWrapperExtensionMessageAsync(wrapperComponentId: string, messageId: string, params?: WrapperExtensionParameterType[]): Promise<JSONValue>;
|
|
|
|
createLoopingConditionContext(loopName?: string): ILoopingConditionContext;
|
|
|
|
isAutoSuspendEnabled: boolean;
|
|
setSuspended(isSuspended: boolean): void;
|
|
|
|
getObjectClassBySid(sid: number): IObjectClass<IInstance>;
|
|
}
|