feat: initial chunithm support
This commit is contained in:
28
src/types.ts
28
src/types.ts
@ -24,11 +24,12 @@ export interface Package {
|
||||
}
|
||||
|
||||
export enum Feature {
|
||||
Mod = 0b00001,
|
||||
Hook = 0b00010,
|
||||
GameIO = 0b00100,
|
||||
Aime = 0b01000,
|
||||
AMNet = 0b10000,
|
||||
Mod = 1 << 0,
|
||||
Aime = 1 << 1,
|
||||
AMNet = 1 << 2,
|
||||
Mu3Hook = 1 << 3,
|
||||
Mu3IO = 1 << 4,
|
||||
ChusanHook = 1 << 5,
|
||||
}
|
||||
|
||||
export type Status =
|
||||
@ -45,6 +46,14 @@ export interface ProfileMeta {
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface ProfileData {
|
||||
mods: string[];
|
||||
sgt: SegatoolsConfig;
|
||||
display: DisplayConfig;
|
||||
network: NetworkConfig;
|
||||
bepinex: BepInExConfig;
|
||||
}
|
||||
|
||||
export interface SegatoolsConfig {
|
||||
target: string;
|
||||
hook: string | null;
|
||||
@ -83,12 +92,9 @@ export interface BepInExConfig {
|
||||
console: boolean;
|
||||
}
|
||||
|
||||
export interface Profile extends ProfileMeta {
|
||||
mods: string[];
|
||||
sgt: SegatoolsConfig;
|
||||
display: DisplayConfig;
|
||||
network: NetworkConfig;
|
||||
bepinex: BepInExConfig;
|
||||
export interface Profile {
|
||||
meta: ProfileMeta;
|
||||
data: ProfileData;
|
||||
}
|
||||
|
||||
export type Module = 'sgt' | 'display' | 'network';
|
||||
|
Reference in New Issue
Block a user