51timapi
Version:
TimApi is a traffic related plugin for WdpApi.
32 lines (31 loc) • 1.41 kB
TypeScript
import { ObjectAbstract } from '../../../common/object-abstract';
import { ResultType, AssetAtomType, BasicInfoAtomType, TransformAtomType } from '../../../common/data-type';
import { MaterialAtomType, IMaterial } from '../../../common/interface/material';
import { StaticType } from '../../../common/interface/static';
import { ObjectController } from '../../../common/object-controller';
declare class Static extends ObjectController implements ObjectAbstract {
className: string;
private AssetAtom;
private MaterialAtom;
constructor(opt?: StaticType);
get seedId(): string | null;
set seedId(seedId: string | null);
get changedMaterialInfo(): Array<IMaterial>;
set changedMaterialInfo(changedMaterialInfo: Array<IMaterial>);
GetSeedId(): Promise<ResultType>;
SetSeedId(seedId: string | null): Promise<ResultType>;
GetChangedMaterialInfo(): Promise<ResultType>;
SetChangedMaterialInfo(changedMaterialInfo: Array<IMaterial>): Promise<ResultType>;
GetScheme(): {
AssetAtom: AssetAtomType;
MaterialAtom: MaterialAtomType;
};
GetData(): StaticType;
SetData(opt: StaticType): void;
generateAtomData(opt: StaticType): {
AssetAtom?: Partial<AssetAtomType>;
BasicInfoAtom?: Partial<BasicInfoAtomType>;
TransformAtom?: Partial<TransformAtomType>;
};
}
export default Static;