@scml-dol-maplebirch/types 5.0.4 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compat/DoLPcompat.d.ts +55 -0
- package/compat/ModI18N.d.ts +10 -0
- package/compat/Prototype.d.ts +43 -0
- package/compat/SimpleFrameworks.d.ts +1 -0
- package/constants.d.ts +52 -0
- package/core.d.ts +143 -0
- package/host/DoL.d.ts +44 -0
- package/host/ModLoader.d.ts +37 -0
- package/host/Resources.d.ts +15 -0
- package/host/SugarCube.d.ts +25 -0
- package/index.d.ts +11 -30
- package/infra/Catalog.d.ts +14 -0
- package/infra/Diagnostics.d.ts +48 -0
- package/infra/Emitter.d.ts +18 -0
- package/infra/Hooks.d.ts +15 -0
- package/infra/Lifecycle.d.ts +24 -0
- package/infra/Logger.d.ts +15 -0
- package/macros/helpers.d.ts +54 -0
- package/macros/index.d.ts +8 -0
- package/macros/lanButton.d.ts +2 -0
- package/macros/lanLink.d.ts +2 -0
- package/macros/lanListbox.d.ts +2 -0
- package/macros/lanSwitch.d.ts +3 -0
- package/macros/language.d.ts +2 -0
- package/macros/macros.d.ts +14 -0
- package/macros/maplebirchReplace.d.ts +1 -0
- package/macros/radiobuttonsfrom.d.ts +2 -0
- package/main.d.ts +22 -0
- package/maplebirch.d.ts +11 -4439
- package/modules/Audio.d.ts +118 -0
- package/modules/AudioAddon/Ambience.d.ts +17 -0
- package/modules/AudioAddon/AudioBufferPlayer.d.ts +20 -0
- package/modules/AudioAddon/Playlist.d.ts +29 -0
- package/modules/AudioAddon/Track.d.ts +15 -0
- package/modules/Character.d.ts +39 -0
- package/modules/CharacterAddon/Pet.d.ts +61 -0
- package/modules/CharacterAddon/Transformation.d.ts +70 -0
- package/modules/CharacterAddon/TransformationConfig.d.ts +20 -0
- package/modules/Combat.d.ts +17 -0
- package/modules/CombatAddon/CombatAction.d.ts +63 -0
- package/modules/CombatAddon/CombatTypes.d.ts +4 -0
- package/modules/DoL/Config.d.ts +50 -0
- package/modules/DoL/Dynamic.d.ts +23 -0
- package/modules/DoL/Integration.d.ts +13 -0
- package/modules/DoL/Patches/Antiques.d.ts +17 -0
- package/modules/DoL/Patches/Bodywriting.d.ts +33 -0
- package/modules/DoL/Patches/Fishing.d.ts +32 -0
- package/modules/DoL/Patches/Foodstuff.d.ts +64 -0
- package/modules/DoL/Patches/Location.d.ts +36 -0
- package/modules/DoL/Patches/Tips.d.ts +7 -0
- package/modules/DoL/Patches/Traits.d.ts +24 -0
- package/modules/DoL/Patches/config.d.ts +2 -0
- package/modules/DoL/Patches/index.d.ts +86 -0
- package/modules/DoL/Replacements.d.ts +189 -0
- package/modules/DoL/ToolCollection.d.ts +17 -0
- package/modules/DoL/index.d.ts +1 -0
- package/modules/DoL/types.d.ts +20 -0
- package/modules/Dynamic.d.ts +10 -0
- package/modules/Event.d.ts +16 -0
- package/modules/Frameworks/ApplyLinkZone.d.ts +40 -0
- package/modules/Frameworks/ConsoleCheat.d.ts +43 -0
- package/modules/Frameworks/DoLConsole.d.ts +8 -0
- package/modules/Frameworks/DoLMacros.d.ts +6 -0
- package/modules/Frameworks/HtmlTools.d.ts +49 -0
- package/modules/Frameworks/ImageLoader.d.ts +6 -0
- package/modules/Frameworks/OptionEvents.d.ts +15 -0
- package/modules/Frameworks/Patch.d.ts +24 -0
- package/modules/Frameworks/RandSystem.d.ts +27 -0
- package/modules/Frameworks/TextStore.d.ts +7 -0
- package/modules/Frameworks/TimeTravelCheat.d.ts +17 -0
- package/modules/Frameworks/ZonesManager.d.ts +69 -0
- package/modules/Frameworks/macros.d.ts +27 -0
- package/modules/Frameworks/migration.d.ts +33 -0
- package/modules/NamedNPC.d.ts +164 -0
- package/modules/NamedNPCAddon/NPCClothes/Condition.d.ts +3 -0
- package/modules/NamedNPCAddon/NPCClothes/NPCOutfitSets.d.ts +38 -0
- package/modules/NamedNPCAddon/NPCClothes/NPCSidebarArt.d.ts +25 -0
- package/modules/NamedNPCAddon/NPCClothes/NPCSidebarWardrobe.d.ts +60 -0
- package/modules/NamedNPCAddon/NPCClothes.d.ts +12 -0
- package/modules/NamedNPCAddon/NPCFluids.d.ts +17 -0
- package/modules/NamedNPCAddon/NPCPregnancy.d.ts +127 -0
- package/modules/NamedNPCAddon/NPCSchedules.d.ts +77 -0
- package/modules/NamedNPCAddon/NPCSidebar.d.ts +28 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/base_layers.d.ts +212 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/face_layers.d.ts +220 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/feet_layers.d.ts +274 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/fluids_layers.d.ts +109 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/functions.d.ts +509 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/handheld_layers.d.ts +292 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/hands_layers.d.ts +381 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/head_layers.d.ts +490 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/legs_layers.d.ts +274 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/lower_layers.d.ts +800 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/neck_layers.d.ts +112 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/transformation_layers.d.ts +1672 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/types.d.ts +130 -0
- package/modules/NamedNPCAddon/NPCSidebarConfig/upper_layers.d.ts +1516 -0
- package/modules/NamedNPCAddon/NPCTransformation.d.ts +51 -0
- package/modules/NamedNPCAddon/NPCUtils.d.ts +8 -0
- package/modules/State.d.ts +46 -0
- package/modules/TimeStateWeather/DateTime.d.ts +4 -0
- package/modules/TimeStateWeather/Time.d.ts +14 -0
- package/modules/TimeStateWeather/TimeEvents.d.ts +130 -0
- package/modules/TimeStateWeather/WeatherEvents.d.ts +56 -0
- package/modules/ToolCollection.d.ts +33 -0
- package/modules/Variables.d.ts +32 -0
- package/package.d.ts +30 -0
- package/package.json +5 -7
- package/services/AddonPlugin.d.ts +92 -0
- package/services/CloudSave.d.ts +124 -0
- package/services/CredentialVault.d.ts +80 -0
- package/services/GUIControl.d.ts +54 -0
- package/services/IndexedDB.d.ts +28 -0
- package/services/Modules.d.ts +75 -0
- package/services/Translator.d.ts +60 -0
- package/types/global.d.ts +123 -0
- package/types/twine-sugarcube.d.ts +456 -0
- package/utils/array.d.ts +10 -0
- package/utils/binary.d.ts +8 -0
- package/utils/condition.d.ts +1 -0
- package/utils/index.d.ts +22 -0
- package/utils/object.d.ts +16 -0
- package/utils/selector.d.ts +20 -0
- package/utils/string.d.ts +8 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type NPCManager from '../NamedNPC.js';
|
|
2
|
+
export interface ScheduleCondition {
|
|
3
|
+
(date: EnhancedDate): boolean;
|
|
4
|
+
}
|
|
5
|
+
export type ScheduleTime = number | [number, number?];
|
|
6
|
+
export type ScheduleLocation = string | ((date: EnhancedDate) => string | Schedule | void | null | undefined);
|
|
7
|
+
export type ScheduleBuilder = (schedule: Schedule) => void | Schedule;
|
|
8
|
+
export interface SpecialSchedule {
|
|
9
|
+
id: string | number;
|
|
10
|
+
condition: ScheduleCondition;
|
|
11
|
+
location: ScheduleLocation;
|
|
12
|
+
before?: string | number;
|
|
13
|
+
after?: string | number;
|
|
14
|
+
insteadOf?: string | number;
|
|
15
|
+
override?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface DailyScheduleConfig {
|
|
18
|
+
time: ScheduleTime;
|
|
19
|
+
location: string;
|
|
20
|
+
}
|
|
21
|
+
export interface SpecialScheduleConfig extends Partial<Omit<SpecialSchedule, 'condition' | 'location'>> {
|
|
22
|
+
condition: ScheduleCondition;
|
|
23
|
+
location: ScheduleLocation;
|
|
24
|
+
}
|
|
25
|
+
export interface ScheduleConfig {
|
|
26
|
+
daily?: DailyScheduleConfig[];
|
|
27
|
+
special?: SpecialScheduleConfig[];
|
|
28
|
+
}
|
|
29
|
+
export interface EnhancedDate extends DateTime {
|
|
30
|
+
schedule: Schedule;
|
|
31
|
+
schoolDay: boolean;
|
|
32
|
+
spring: boolean;
|
|
33
|
+
summer: boolean;
|
|
34
|
+
autumn: boolean;
|
|
35
|
+
winter: boolean;
|
|
36
|
+
dawn: boolean;
|
|
37
|
+
daytime: boolean;
|
|
38
|
+
dusk: boolean;
|
|
39
|
+
night: boolean;
|
|
40
|
+
weekEnd: boolean;
|
|
41
|
+
isAt(time: ScheduleTime): boolean;
|
|
42
|
+
isAfter(time: ScheduleTime): boolean;
|
|
43
|
+
isBefore(time: ScheduleTime): boolean;
|
|
44
|
+
isBetween(start: ScheduleTime, end: ScheduleTime): boolean;
|
|
45
|
+
isHour(...hours: number[]): boolean;
|
|
46
|
+
isHourBetween(start: number, end: number): boolean;
|
|
47
|
+
isMinuteBetween(start: number, end: number): boolean;
|
|
48
|
+
}
|
|
49
|
+
export declare class Schedule {
|
|
50
|
+
daily: string[];
|
|
51
|
+
specials: SpecialSchedule[];
|
|
52
|
+
sortedSpecials: SpecialSchedule[] | null;
|
|
53
|
+
at(scheduleConfig: ScheduleTime, location: string): this;
|
|
54
|
+
when(condition: ScheduleCondition, location: ScheduleLocation, options?: Partial<Omit<SpecialSchedule, 'condition' | 'location'>>): this;
|
|
55
|
+
update(specialId: string | number, updates: Partial<Omit<SpecialSchedule, 'id'>>): this;
|
|
56
|
+
remove(specialId: string | number): this;
|
|
57
|
+
sortSpecials(): void;
|
|
58
|
+
topologicalSort(items: SpecialSchedule[]): SpecialSchedule[];
|
|
59
|
+
get location(): string;
|
|
60
|
+
resolveLocation(loc: ScheduleLocation, date: EnhancedDate): string;
|
|
61
|
+
createEnhancedDate(date: DateTime): EnhancedDate;
|
|
62
|
+
buildEnhancedDateProto(): EnhancedDate;
|
|
63
|
+
private dailyLocation;
|
|
64
|
+
}
|
|
65
|
+
declare const NPCSchedules: typeof Schedule & {
|
|
66
|
+
readonly schedules: Map<string, Schedule>;
|
|
67
|
+
init: (manager: NPCManager) => boolean;
|
|
68
|
+
set: (npcName: string, config: ScheduleConfig | ScheduleBuilder) => Schedule;
|
|
69
|
+
get: (npcName: string) => Schedule;
|
|
70
|
+
update: (npcName: string, specialId: string | number, updates: Partial<Omit<SpecialSchedule, 'id'>>) => Schedule;
|
|
71
|
+
remove: (npcName: string, specialId: string | number) => Schedule;
|
|
72
|
+
clear: (npcName: string) => Schedule;
|
|
73
|
+
clearAll: () => void;
|
|
74
|
+
readonly npcList: string[];
|
|
75
|
+
readonly location: Record<string, string>;
|
|
76
|
+
};
|
|
77
|
+
export default NPCSchedules;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ModZipReader } from '@scml/types/sugarcube-2-ModLoader/ModZipReader';
|
|
2
|
+
import type NPCManager from '../NamedNPC.js';
|
|
3
|
+
export interface NPCSidebarBootConfig {
|
|
4
|
+
clothes?: string[];
|
|
5
|
+
image?: string[];
|
|
6
|
+
config?: string[];
|
|
7
|
+
}
|
|
8
|
+
declare function config(manager: NPCManager, modName: string, modZip: ModZipReader, config: NPCSidebarBootConfig): Promise<void>;
|
|
9
|
+
declare function loadFromMod(modZip: ModZipReader, npc_names: string[]): string[];
|
|
10
|
+
declare class NPCPet {
|
|
11
|
+
private readonly pets;
|
|
12
|
+
private frame;
|
|
13
|
+
private syncing;
|
|
14
|
+
sync(): boolean;
|
|
15
|
+
private render;
|
|
16
|
+
reset(): void;
|
|
17
|
+
private cancel;
|
|
18
|
+
}
|
|
19
|
+
declare const NPCSidebar: {
|
|
20
|
+
new (): {};
|
|
21
|
+
readonly pet: NPCPet;
|
|
22
|
+
get display(): Map<string, Set<string>>;
|
|
23
|
+
config: typeof config;
|
|
24
|
+
loadFromMod: typeof loadFromMod;
|
|
25
|
+
hair_type(type: 'sides' | 'fringe'): Record<string, string>;
|
|
26
|
+
init(manager: NPCManager): void;
|
|
27
|
+
};
|
|
28
|
+
export default NPCSidebar;
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import type { NPCSidebarOptions } from './types.js';
|
|
2
|
+
declare const base_layers: {
|
|
3
|
+
nnpc_body: {
|
|
4
|
+
masksrcfn: (options: NPCSidebarOptions) => string | undefined;
|
|
5
|
+
srcfn: (options: NPCSidebarOptions) => string | undefined;
|
|
6
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
7
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
8
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
9
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
10
|
+
filtersfn: (options: NPCSidebarOptions) => string[];
|
|
11
|
+
animation: string;
|
|
12
|
+
};
|
|
13
|
+
nnpc_head: {
|
|
14
|
+
masksrcfn: (options: NPCSidebarOptions) => string | undefined;
|
|
15
|
+
srcfn: (options: NPCSidebarOptions) => string | undefined;
|
|
16
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
17
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
18
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
19
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
20
|
+
filtersfn: (options: NPCSidebarOptions) => string[];
|
|
21
|
+
animation: string;
|
|
22
|
+
};
|
|
23
|
+
nnpc_face: {
|
|
24
|
+
srcfn: (options: NPCSidebarOptions) => string | undefined;
|
|
25
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
26
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
27
|
+
};
|
|
28
|
+
nnpc_neck: {
|
|
29
|
+
srcfn: (options: NPCSidebarOptions) => string | undefined;
|
|
30
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
31
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
32
|
+
};
|
|
33
|
+
nnpc_upper: {
|
|
34
|
+
srcfn: (options: NPCSidebarOptions) => string | undefined;
|
|
35
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
36
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
37
|
+
};
|
|
38
|
+
nnpc_lower: {
|
|
39
|
+
srcfn: (options: NPCSidebarOptions) => string | undefined;
|
|
40
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
41
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
42
|
+
};
|
|
43
|
+
nnpc_legs: {
|
|
44
|
+
srcfn: (options: NPCSidebarOptions) => string | undefined;
|
|
45
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
46
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
47
|
+
};
|
|
48
|
+
nnpc_feet: {
|
|
49
|
+
srcfn: (options: NPCSidebarOptions) => string | undefined;
|
|
50
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
51
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
52
|
+
};
|
|
53
|
+
nnpc_hands: {
|
|
54
|
+
srcfn: (options: NPCSidebarOptions) => string | undefined;
|
|
55
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
56
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
57
|
+
};
|
|
58
|
+
nnpc_breasts: {
|
|
59
|
+
masksrcfn: (options: NPCSidebarOptions) => string;
|
|
60
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
61
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
62
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
63
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
64
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
65
|
+
filters: string[];
|
|
66
|
+
animation: string;
|
|
67
|
+
};
|
|
68
|
+
nnpc_leftarm: {
|
|
69
|
+
masksrcfn: (options: NPCSidebarOptions) => string;
|
|
70
|
+
srcfn: (options: NPCSidebarOptions) => "img/body/left-arm-cover.png" | "img/body/left-arm-idle-classic.png";
|
|
71
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
72
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
73
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
74
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
75
|
+
filters: string[];
|
|
76
|
+
animation: string;
|
|
77
|
+
};
|
|
78
|
+
nnpc_rightarm: {
|
|
79
|
+
masksrcfn: (options: NPCSidebarOptions) => string;
|
|
80
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
81
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
82
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
83
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
84
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
85
|
+
filters: string[];
|
|
86
|
+
animation: string;
|
|
87
|
+
};
|
|
88
|
+
nnpc_penis: {
|
|
89
|
+
masksrcfn: (options: NPCSidebarOptions) => string;
|
|
90
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
91
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
92
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
93
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
94
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
95
|
+
filters: string[];
|
|
96
|
+
animation: string;
|
|
97
|
+
};
|
|
98
|
+
nnpc_freckles: {
|
|
99
|
+
masksrcfn: (options: NPCSidebarOptions) => string;
|
|
100
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
101
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
102
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
103
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
104
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
105
|
+
filters: string[];
|
|
106
|
+
};
|
|
107
|
+
nnpc_ears: {
|
|
108
|
+
masksrcfn: (options: NPCSidebarOptions) => string;
|
|
109
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
110
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
111
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
112
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
113
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
114
|
+
filters: string[];
|
|
115
|
+
};
|
|
116
|
+
nnpc_eyes: {
|
|
117
|
+
masksrcfn: (options: NPCSidebarOptions) => string;
|
|
118
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
119
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
120
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
121
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
122
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
123
|
+
filters: string[];
|
|
124
|
+
};
|
|
125
|
+
nnpc_sclera: {
|
|
126
|
+
masksrcfn: (options: NPCSidebarOptions) => string;
|
|
127
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
128
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
129
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
130
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
131
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
132
|
+
};
|
|
133
|
+
nnpc_iris: {
|
|
134
|
+
masksrcfn: (options: NPCSidebarOptions) => string;
|
|
135
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
136
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
137
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
138
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
139
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
140
|
+
filters: string[];
|
|
141
|
+
animation: string;
|
|
142
|
+
};
|
|
143
|
+
nnpc_eyelids: {
|
|
144
|
+
masksrcfn: (options: NPCSidebarOptions) => string;
|
|
145
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
146
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
147
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
148
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
149
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
150
|
+
filters: string[];
|
|
151
|
+
animationfn: (options: NPCSidebarOptions) => "" | "blink";
|
|
152
|
+
};
|
|
153
|
+
nnpc_lashes: {
|
|
154
|
+
masksrcfn: (options: NPCSidebarOptions) => string;
|
|
155
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
156
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
157
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
158
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
159
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
160
|
+
filters: string[];
|
|
161
|
+
animationfn: (options: NPCSidebarOptions) => "" | "blink";
|
|
162
|
+
};
|
|
163
|
+
nnpc_brows: {
|
|
164
|
+
masksrcfn: (options: NPCSidebarOptions) => string;
|
|
165
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
166
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
167
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
168
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
169
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
170
|
+
filters: string[];
|
|
171
|
+
};
|
|
172
|
+
nnpc_mouth: {
|
|
173
|
+
masksrcfn: (options: NPCSidebarOptions) => string;
|
|
174
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
175
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
176
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
177
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
178
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
179
|
+
filters: string[];
|
|
180
|
+
};
|
|
181
|
+
nnpc_hair_sides: {
|
|
182
|
+
masksrcfn: (options: NPCSidebarOptions) => string | string[] | undefined;
|
|
183
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
184
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
185
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
186
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
187
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
188
|
+
filters: string[];
|
|
189
|
+
animation: string;
|
|
190
|
+
};
|
|
191
|
+
nnpc_hair_fringe: {
|
|
192
|
+
masksrcfn: (options: NPCSidebarOptions) => string | string[] | undefined;
|
|
193
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
194
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
195
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
196
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
197
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
198
|
+
filters: string[];
|
|
199
|
+
animation: string;
|
|
200
|
+
};
|
|
201
|
+
nnpc_hair_extra: {
|
|
202
|
+
masksrcfn: (options: NPCSidebarOptions) => string | string[] | undefined;
|
|
203
|
+
srcfn: (options: NPCSidebarOptions) => string;
|
|
204
|
+
showfn: (options: NPCSidebarOptions) => boolean;
|
|
205
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
206
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
207
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
208
|
+
filters: string[];
|
|
209
|
+
animation: string;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
export default base_layers;
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import type { NPCSidebarOptions } from './types.js';
|
|
2
|
+
declare const face_layers: {
|
|
3
|
+
nnpc_face_main: {
|
|
4
|
+
name?: string;
|
|
5
|
+
model?: CanvasModel;
|
|
6
|
+
defaultOptions?: LayerConfig;
|
|
7
|
+
show?: boolean;
|
|
8
|
+
src?: CanvasLayerSrc;
|
|
9
|
+
z?: number;
|
|
10
|
+
alpha?: number;
|
|
11
|
+
maskAlpha?: number;
|
|
12
|
+
brightness?: number;
|
|
13
|
+
contrast?: number;
|
|
14
|
+
blend?: string;
|
|
15
|
+
blendMode?: string;
|
|
16
|
+
maskBlendMode?: string;
|
|
17
|
+
compositeOperation?: string;
|
|
18
|
+
desaturate?: boolean;
|
|
19
|
+
masksrc?: CanvasLayerMaskSrc;
|
|
20
|
+
filters?: CanvasLayerFilter[];
|
|
21
|
+
dx?: number;
|
|
22
|
+
dy?: number;
|
|
23
|
+
width?: number;
|
|
24
|
+
height?: number;
|
|
25
|
+
worn?: CanvasLayerWorn;
|
|
26
|
+
scale?: boolean | number;
|
|
27
|
+
frameDx?: number;
|
|
28
|
+
frameDy?: number;
|
|
29
|
+
showfn?: CanvasLayerValueFn<boolean>;
|
|
30
|
+
srcfn?: CanvasLayerValueFn<CanvasLayerSrc>;
|
|
31
|
+
maskAlphafn?: CanvasLayerValueFn<number>;
|
|
32
|
+
brightnessfn?: CanvasLayerValueFn<number>;
|
|
33
|
+
contrastfn?: CanvasLayerValueFn<number>;
|
|
34
|
+
blendfn?: CanvasLayerValueFn<string | undefined>;
|
|
35
|
+
blendModefn?: CanvasLayerValueFn<string | undefined>;
|
|
36
|
+
maskBlendModefn?: CanvasLayerValueFn<string | undefined>;
|
|
37
|
+
compositeOperationfn?: CanvasLayerValueFn<string | undefined>;
|
|
38
|
+
desaturatefn?: CanvasLayerValueFn<boolean>;
|
|
39
|
+
animationfn?: CanvasLayerValueFn<any>;
|
|
40
|
+
filtersfn?: CanvasLayerValueFn<CanvasLayerFilter[] | undefined>;
|
|
41
|
+
widthfn?: CanvasLayerValueFn<number>;
|
|
42
|
+
heightfn?: CanvasLayerValueFn<number>;
|
|
43
|
+
scalefn?: CanvasLayerValueFn<boolean | number | undefined>;
|
|
44
|
+
masksrcfn: (options: NPCSidebarOptions) => CanvasLayerMaskSrc;
|
|
45
|
+
alphafn: (options: NPCSidebarOptions) => number;
|
|
46
|
+
wornfn: CanvasLayerValueFn<CanvasLayerWorn | undefined> | ((options: NPCSidebarOptions) => {
|
|
47
|
+
slot: import("./types.js").NPCClothesSlot;
|
|
48
|
+
integrity: string;
|
|
49
|
+
alt: string | undefined;
|
|
50
|
+
index: number;
|
|
51
|
+
});
|
|
52
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
53
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
54
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
55
|
+
animation: any;
|
|
56
|
+
};
|
|
57
|
+
nnpc_face_acc: {
|
|
58
|
+
name?: string;
|
|
59
|
+
model?: CanvasModel;
|
|
60
|
+
defaultOptions?: LayerConfig;
|
|
61
|
+
show?: boolean;
|
|
62
|
+
src?: CanvasLayerSrc;
|
|
63
|
+
z?: number;
|
|
64
|
+
alpha?: number;
|
|
65
|
+
maskAlpha?: number;
|
|
66
|
+
brightness?: number;
|
|
67
|
+
contrast?: number;
|
|
68
|
+
blend?: string;
|
|
69
|
+
blendMode?: string;
|
|
70
|
+
maskBlendMode?: string;
|
|
71
|
+
compositeOperation?: string;
|
|
72
|
+
desaturate?: boolean;
|
|
73
|
+
masksrc?: CanvasLayerMaskSrc;
|
|
74
|
+
filters?: CanvasLayerFilter[];
|
|
75
|
+
dx?: number;
|
|
76
|
+
dy?: number;
|
|
77
|
+
width?: number;
|
|
78
|
+
height?: number;
|
|
79
|
+
worn?: CanvasLayerWorn;
|
|
80
|
+
scale?: boolean | number;
|
|
81
|
+
frameDx?: number;
|
|
82
|
+
frameDy?: number;
|
|
83
|
+
showfn?: CanvasLayerValueFn<boolean>;
|
|
84
|
+
srcfn?: CanvasLayerValueFn<CanvasLayerSrc>;
|
|
85
|
+
maskAlphafn?: CanvasLayerValueFn<number>;
|
|
86
|
+
brightnessfn?: CanvasLayerValueFn<number>;
|
|
87
|
+
contrastfn?: CanvasLayerValueFn<number>;
|
|
88
|
+
blendfn?: CanvasLayerValueFn<string | undefined>;
|
|
89
|
+
blendModefn?: CanvasLayerValueFn<string | undefined>;
|
|
90
|
+
maskBlendModefn?: CanvasLayerValueFn<string | undefined>;
|
|
91
|
+
compositeOperationfn?: CanvasLayerValueFn<string | undefined>;
|
|
92
|
+
desaturatefn?: CanvasLayerValueFn<boolean>;
|
|
93
|
+
animationfn?: CanvasLayerValueFn<any>;
|
|
94
|
+
filtersfn?: CanvasLayerValueFn<CanvasLayerFilter[] | undefined>;
|
|
95
|
+
widthfn?: CanvasLayerValueFn<number>;
|
|
96
|
+
heightfn?: CanvasLayerValueFn<number>;
|
|
97
|
+
scalefn?: CanvasLayerValueFn<boolean | number | undefined>;
|
|
98
|
+
masksrcfn: (options: NPCSidebarOptions) => CanvasLayerMaskSrc;
|
|
99
|
+
alphafn: (options: NPCSidebarOptions) => number;
|
|
100
|
+
wornfn: CanvasLayerValueFn<CanvasLayerWorn | undefined> | ((options: NPCSidebarOptions) => {
|
|
101
|
+
slot: import("./types.js").NPCClothesSlot;
|
|
102
|
+
integrity: string;
|
|
103
|
+
alt: string | undefined;
|
|
104
|
+
index: number;
|
|
105
|
+
});
|
|
106
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
107
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
108
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
109
|
+
animation: any;
|
|
110
|
+
};
|
|
111
|
+
nnpc_face_back: {
|
|
112
|
+
name?: string;
|
|
113
|
+
model?: CanvasModel;
|
|
114
|
+
defaultOptions?: LayerConfig;
|
|
115
|
+
show?: boolean;
|
|
116
|
+
src?: CanvasLayerSrc;
|
|
117
|
+
z?: number;
|
|
118
|
+
alpha?: number;
|
|
119
|
+
maskAlpha?: number;
|
|
120
|
+
brightness?: number;
|
|
121
|
+
contrast?: number;
|
|
122
|
+
blend?: string;
|
|
123
|
+
blendMode?: string;
|
|
124
|
+
maskBlendMode?: string;
|
|
125
|
+
compositeOperation?: string;
|
|
126
|
+
desaturate?: boolean;
|
|
127
|
+
masksrc?: CanvasLayerMaskSrc;
|
|
128
|
+
filters?: CanvasLayerFilter[];
|
|
129
|
+
dx?: number;
|
|
130
|
+
dy?: number;
|
|
131
|
+
width?: number;
|
|
132
|
+
height?: number;
|
|
133
|
+
worn?: CanvasLayerWorn;
|
|
134
|
+
scale?: boolean | number;
|
|
135
|
+
frameDx?: number;
|
|
136
|
+
frameDy?: number;
|
|
137
|
+
showfn?: CanvasLayerValueFn<boolean>;
|
|
138
|
+
srcfn?: CanvasLayerValueFn<CanvasLayerSrc>;
|
|
139
|
+
maskAlphafn?: CanvasLayerValueFn<number>;
|
|
140
|
+
brightnessfn?: CanvasLayerValueFn<number>;
|
|
141
|
+
contrastfn?: CanvasLayerValueFn<number>;
|
|
142
|
+
blendfn?: CanvasLayerValueFn<string | undefined>;
|
|
143
|
+
blendModefn?: CanvasLayerValueFn<string | undefined>;
|
|
144
|
+
maskBlendModefn?: CanvasLayerValueFn<string | undefined>;
|
|
145
|
+
compositeOperationfn?: CanvasLayerValueFn<string | undefined>;
|
|
146
|
+
desaturatefn?: CanvasLayerValueFn<boolean>;
|
|
147
|
+
animationfn?: CanvasLayerValueFn<any>;
|
|
148
|
+
filtersfn?: CanvasLayerValueFn<CanvasLayerFilter[] | undefined>;
|
|
149
|
+
widthfn?: CanvasLayerValueFn<number>;
|
|
150
|
+
heightfn?: CanvasLayerValueFn<number>;
|
|
151
|
+
scalefn?: CanvasLayerValueFn<boolean | number | undefined>;
|
|
152
|
+
masksrcfn: (options: NPCSidebarOptions) => CanvasLayerMaskSrc;
|
|
153
|
+
alphafn: (options: NPCSidebarOptions) => number;
|
|
154
|
+
wornfn: CanvasLayerValueFn<CanvasLayerWorn | undefined> | ((options: NPCSidebarOptions) => {
|
|
155
|
+
slot: import("./types.js").NPCClothesSlot;
|
|
156
|
+
integrity: string;
|
|
157
|
+
alt: string | undefined;
|
|
158
|
+
index: number;
|
|
159
|
+
});
|
|
160
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
161
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
162
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
163
|
+
animation: any;
|
|
164
|
+
};
|
|
165
|
+
nnpc_face_back_acc: {
|
|
166
|
+
name?: string;
|
|
167
|
+
model?: CanvasModel;
|
|
168
|
+
defaultOptions?: LayerConfig;
|
|
169
|
+
show?: boolean;
|
|
170
|
+
src?: CanvasLayerSrc;
|
|
171
|
+
z?: number;
|
|
172
|
+
alpha?: number;
|
|
173
|
+
maskAlpha?: number;
|
|
174
|
+
brightness?: number;
|
|
175
|
+
contrast?: number;
|
|
176
|
+
blend?: string;
|
|
177
|
+
blendMode?: string;
|
|
178
|
+
maskBlendMode?: string;
|
|
179
|
+
compositeOperation?: string;
|
|
180
|
+
desaturate?: boolean;
|
|
181
|
+
masksrc?: CanvasLayerMaskSrc;
|
|
182
|
+
filters?: CanvasLayerFilter[];
|
|
183
|
+
dx?: number;
|
|
184
|
+
dy?: number;
|
|
185
|
+
width?: number;
|
|
186
|
+
height?: number;
|
|
187
|
+
worn?: CanvasLayerWorn;
|
|
188
|
+
scale?: boolean | number;
|
|
189
|
+
frameDx?: number;
|
|
190
|
+
frameDy?: number;
|
|
191
|
+
showfn?: CanvasLayerValueFn<boolean>;
|
|
192
|
+
srcfn?: CanvasLayerValueFn<CanvasLayerSrc>;
|
|
193
|
+
maskAlphafn?: CanvasLayerValueFn<number>;
|
|
194
|
+
brightnessfn?: CanvasLayerValueFn<number>;
|
|
195
|
+
contrastfn?: CanvasLayerValueFn<number>;
|
|
196
|
+
blendfn?: CanvasLayerValueFn<string | undefined>;
|
|
197
|
+
blendModefn?: CanvasLayerValueFn<string | undefined>;
|
|
198
|
+
maskBlendModefn?: CanvasLayerValueFn<string | undefined>;
|
|
199
|
+
compositeOperationfn?: CanvasLayerValueFn<string | undefined>;
|
|
200
|
+
desaturatefn?: CanvasLayerValueFn<boolean>;
|
|
201
|
+
animationfn?: CanvasLayerValueFn<any>;
|
|
202
|
+
filtersfn?: CanvasLayerValueFn<CanvasLayerFilter[] | undefined>;
|
|
203
|
+
widthfn?: CanvasLayerValueFn<number>;
|
|
204
|
+
heightfn?: CanvasLayerValueFn<number>;
|
|
205
|
+
scalefn?: CanvasLayerValueFn<boolean | number | undefined>;
|
|
206
|
+
masksrcfn: (options: NPCSidebarOptions) => CanvasLayerMaskSrc;
|
|
207
|
+
alphafn: (options: NPCSidebarOptions) => number;
|
|
208
|
+
wornfn: CanvasLayerValueFn<CanvasLayerWorn | undefined> | ((options: NPCSidebarOptions) => {
|
|
209
|
+
slot: import("./types.js").NPCClothesSlot;
|
|
210
|
+
integrity: string;
|
|
211
|
+
alt: string | undefined;
|
|
212
|
+
index: number;
|
|
213
|
+
});
|
|
214
|
+
zfn: (options: NPCSidebarOptions) => number;
|
|
215
|
+
dxfn: (options: NPCSidebarOptions) => number;
|
|
216
|
+
dyfn: (options: NPCSidebarOptions) => number;
|
|
217
|
+
animation: any;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
export default face_layers;
|