@bscotch/stitch
Version:
Stitch: The GameMaker Studio 2 Asset Pipeline Development Kit.
31 lines • 1.26 kB
TypeScript
import { Yyp } from '@bscotch/yy';
export declare class StitchProjectStatic {
static get supportedSoundFileExtensions(): string[];
static get platforms(): readonly ["amazonfire", "android", "html5", "ios", "linux", "mac", "ps4", "switch", "tvos", "windows", "windowsuap", "xboxone"];
/**
* Attempt to parse a YYP file.
*/
static parseYypFile(yypFilepath: string): Promise<Yyp>;
static isValidYypFile(yypFilepath: string): Promise<boolean>;
/**
* Path to the `.yyp` file of the included,
* default issue template project.
*/
static get defaultProjectTemplatePath(): string;
/**
* Starting at a folder or .yyp file,
* recursively list all .yyp files.
*
* If the `startingPath` is a .yyp filepath,
* it will be returned as the sole entry in
* an array.
*
* Files are read and smoke-tested to ensure
* they are valid GameMaker project files.
* Only those passing the test are returned.
*/
static listYypFilesRecursively(startingPath: string): Promise<string[]>;
static findYypFile(startingPath: string): Promise<string>;
}
export type Gms2Platform = (typeof StitchProjectStatic.platforms)[number];
//# sourceMappingURL=StitchProject.static.d.ts.map