@typed-tabletop-simulator/lib
Version:
Library with some helping modules for working with Tabletop Simulator
24 lines (23 loc) • 874 B
TypeScript
/** @noSelfInFile */
import { BaseProperties } from "./baseObject";
type BagType = ModelType.Bag | ModelType.Infinite;
export type AssetBundleProperties = AssetBundleBaseProperties | AssetBundleBagProperties;
interface AssetBundleBaseProperties extends BaseProperties, SharedProperties {
type: Exclude<ModelType, BagType>;
}
interface AssetBundleBagProperties extends BaseProperties, SharedProperties {
type: BagType;
content: ObjectData[];
}
interface SharedProperties {
/** URL to the primary asset bundle. */
bundle: string;
/** URL to the secondary asset bundle. */
secondaryBundle?: string;
/** The type of material. */
material?: MaterialType;
/** The index of the current looping index. */
loopingEffect?: number;
}
export declare const createAssetBundle: (properties: AssetBundleProperties) => AssetBundleData;
export {};