UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

28 lines (27 loc) 1.05 kB
import ProjectInfoItem from "../ProjectInfoItem"; import IProjectInfoGenerator from "../IProjectInfoGenerator"; import ProjectInfoSet from "../ProjectInfoSet"; import Project from "../../app/Project"; export declare enum SoundsDefinitionInfoGeneratorTest { multipleSoundsDefinitionManifests = 101, invalidSoundsDefinitionManifest = 102, soundsDefinitionManifestInvalidJson = 103, foundALooseSoundDefinition = 104 } /*********** * Generator for validating Sounds Definition Manifest Files * * Will ensure: * * only one Sounds Definition Manifest exists * * Sounds Definition Manifest is valid JSON * * Sounds Definition Manifest is formatted correctly * * @see {@link ../../../public/data/forms/mctoolsval/sndsdef.form.json} for topic definitions */ export default class SoundsDefinitionInfoGenerator implements IProjectInfoGenerator { id: string; title: string; summarize(info: any, infoSet: ProjectInfoSet): void; generate(project: Project): Promise<ProjectInfoItem[]>; private getIsManifestValidResult; }