import { CaseStyle } from "kryo/case-style"; import { DocumentIoType, DocumentType } from "kryo/types/document"; import { LiteralType } from "kryo/types/literal"; import { Ucs2StringType } from "kryo/types/ucs2-string"; import { $SoundInfo, SoundInfo } from "../sound/sound-info"; import { _Tag } from "./_tag"; import { $TagType, TagType } from "./_type"; export interface StartSound2 extends _Tag { type: TagType.StartSound2; soundClassName: string; soundInfo: SoundInfo; } export const $StartSound2: DocumentIoType = new DocumentType({ properties: { type: {type: new LiteralType({type: $TagType, value: TagType.StartSound2 as TagType.StartSound2})}, soundClassName: {type: new Ucs2StringType({maxLength: Infinity})}, soundInfo: {type: $SoundInfo}, }, changeCase: CaseStyle.SnakeCase, });