@drincs/pixi-vn-ink
Version:
Pixi'VN gives you the ability to write your own narrative using Ink
26 lines (23 loc) • 1.87 kB
TypeScript
import { PixiVNJsonStepSwitchElementType, PixiVNJsonConditionalStatements } from '@drincs/pixi-vn-json';
import InkRootType from '../types/InkRootType.js';
import { StandardDivert } from '../types/parserItems/Divert.js';
import { R as RootParserItemType } from '../RootParserItemType-BeypaLqW.js';
import { MyVariableAssignment } from '../types/parserItems/VariableAssignment.js';
import '../types/parserItems/ContainerType.js';
import '../types/parserItems/TextType.js';
import '../types/parserItems/ControlCommands.js';
import '../types/parserItems/NativeFunctions.js';
import '../types/parserItems/ReadCount.js';
import '../types/parserItems/VariableReference.js';
type ShareDataParserLabel = {
preDialog: {
[label: string]: {
text: string;
glue: boolean;
};
};
du?: any;
params?: {};
};
declare function parseLabel<T>(rootList: RootParserItemType[], labelKey: string, shareData: ShareDataParserLabel, itemList: T[] | undefined, addElement: (list: T[], item: T | string | StandardDivert | PixiVNJsonStepSwitchElementType<T> | MyVariableAssignment, labelKey: string, paramNames: string[], isNewLine: boolean, isHashtagScript: boolean) => void, addSwitchElemen: (list: PixiVNJsonStepSwitchElementType<T>[], item: T | string | StandardDivert | PixiVNJsonStepSwitchElementType<T> | MyVariableAssignment, labelKey: string, paramNames: string[], isNewLine?: boolean) => void, addLabels: (storyItem: InkRootType | RootParserItemType, dadLabelKey: string, shareData: ShareDataParserLabel) => void, addChoiseList: (choiseList: RootParserItemType[], itemList: (T | PixiVNJsonConditionalStatements<T>)[], labelKey: string, shareData: ShareDataParserLabel, paramNames: string[]) => void, nestedId?: string | undefined, isNewLine?: boolean, paramNames?: string[]): void;
export { type ShareDataParserLabel, parseLabel };