UNPKG

wdpapi

Version:

51WORLD WdpApi is a set of programming interfaces developed by JavaScript that is responsible for negotiating between web pages and cloud rendering platforms. Supported by 51Cloud rendering platform, it enables the users to create any HTML5 UI element on

43 lines (42 loc) 1.1 kB
import { Basic } from '../common/basic'; import { ResultType } from '../common/data-type'; /** * @public * @class AssetLoaderController * @extends Basic */ declare class AssetLoaderController extends Basic { private apiClassName; private AssetLoaderValidate; /** * @constructor * @param {any} obj */ constructor(obj: any); /** * @public * @async * @function LoadAssetById * @param {string} seedId * @returns {Promise<ResultType>} */ LoadAssetById(seedId: string): Promise<ResultType>; /** * @public * @async * @function ReplaceAssetById * @param {string} seedId * @param {Array<Record<string, any>>} objects * @returns {Promise<ResultType>} */ ReplaceAssetById(seedId: string, objects: Array<Record<string, any>>): Promise<ResultType>; /** * @public * @async * @function GetMeshSizeById * @param {string} seedId * @returns {Promise<ResultType>} */ GetMeshSizeById(seedId: string): Promise<ResultType>; } export default AssetLoaderController;