arx-level-generator
Version:
A tool for creating Arx Fatalis maps
44 lines (43 loc) • 1.42 kB
TypeScript
import { Expand } from 'arx-convert/utils';
import { Settings } from './Settings.js';
import { Locales } from './Translations.js';
export type AudioType = `speech/${Locales}` | 'sfx';
type AudioConstructorProps = {
filename: string;
isNative?: boolean;
sourcePath?: string;
/**
* default value is "sfx"
*/
type?: AudioType;
/**
* default value is false
*/
isInternalAsset?: boolean;
};
export declare class Audio {
static replacements: Record<string, Audio>;
filename: string;
isNative: boolean;
sourcePath?: string;
type: AudioType;
isInternalAsset: boolean;
constructor(props: AudioConstructorProps);
clone(): Audio;
static fromCustomFile(props: Expand<Omit<AudioConstructorProps, 'isNative'>>): Audio;
exportSourceAndTarget(settings: Settings): [string, string];
static replace(from: Audio, to: Audio): void;
static mute(sound: Audio): void;
static exportReplacements(settings: Settings, type?: AudioType): Record<string, string>;
static get spiderStep3(): Audio;
static get metalOnWood2(): Audio;
static get sausageJump(): Audio;
static get footstepShoeMetalStep(): Audio;
static get interfaceInvstd(): Audio;
static get clothOnCloth1(): Audio;
static get lever(): Audio;
static get system(): Audio;
static get system2(): Audio;
static get system3(): Audio;
}
export {};