unreal.js
Version:
A pak reader for games like VALORANT & Fortnite written in Node.JS
41 lines (40 loc) • 1.22 kB
TypeScript
export declare class Config implements IConfig {
static GExportArchiveCheckDummyName: boolean;
static GDebug: boolean;
static GFatalUnknownProperty: boolean;
static GSuppressMissingSchemaErrors: boolean;
static GUseLocalTypeRegistry: boolean;
}
export interface IConfig {
/**
* Whether to check dummy names in export archive
* @type {boolean}
* @default false
*/
GExportArchiveCheckDummyName?: boolean;
/**
* Whether to debug
* @type {boolean}
* @default false
*/
GDebug?: boolean;
/**
* Whether it is fatal if a property couldn't be deserialized
* @type {boolean}
* @default false
*/
GFatalUnknownProperty?: boolean;
/**
* Whether to suppress missing schema errors
* @type {boolean}
* @default false
*/
GSuppressMissingSchemaErrors?: boolean;
/**
* Whether to use 'process.cwd()' instead of 'process.cwd() + /node_modules/unreal.js' for object type registry
* Do not set this to true unless you are not using unreal.js via node_modules
* @type {boolean}
* @default false
*/
GUseLocalTypeRegistry?: boolean;
}