mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-10-19 21:15:20 +00:00
chore: rename FastFileBinds to ZoneBinds
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#include "FastFileContext.h"
|
#include "FastFileContext.h"
|
||||||
|
|
||||||
#include "Web/Binds/FastFileBinds.h"
|
#include "Web/Binds/ZoneBinds.h"
|
||||||
#include "Web/UiCommunication.h"
|
#include "Web/UiCommunication.h"
|
||||||
#include "ZoneLoading.h"
|
#include "ZoneLoading.h"
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#include "Binds.h"
|
#include "Binds.h"
|
||||||
|
|
||||||
#include "FastFileBinds.h"
|
|
||||||
#include "Web/Binds/DialogBinds.h"
|
#include "Web/Binds/DialogBinds.h"
|
||||||
|
#include "ZoneBinds.h"
|
||||||
|
|
||||||
namespace ui
|
namespace ui
|
||||||
{
|
{
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#include "FastFileBinds.h"
|
#include "ZoneBinds.h"
|
||||||
|
|
||||||
#include "Context/ModManContext.h"
|
#include "Context/ModManContext.h"
|
||||||
#include "Web/UiCommunication.h"
|
#include "Web/UiCommunication.h"
|
@@ -7,12 +7,12 @@ export interface ZoneUnloadedDto {
|
|||||||
zoneName: string;
|
zoneName: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FastFileBinds {
|
export interface ZoneBinds {
|
||||||
loadFastFile(path: string): Promise<void>;
|
loadFastFile(path: string): Promise<void>;
|
||||||
unloadZone(zoneName: string): Promise<void>;
|
unloadZone(zoneName: string): Promise<void>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FastFileEventMap {
|
export interface ZoneEventMap {
|
||||||
zoneLoaded: ZoneLoadedDto;
|
zoneLoaded: ZoneLoadedDto;
|
||||||
zoneUnloaded: ZoneUnloadedDto;
|
zoneUnloaded: ZoneUnloadedDto;
|
||||||
}
|
}
|
@@ -1,9 +1,9 @@
|
|||||||
import type { DialogBinds } from "./DialogBinds";
|
import type { DialogBinds } from "./DialogBinds";
|
||||||
import type { FastFileBinds, FastFileEventMap } from "./FastFileBinds";
|
import type { ZoneBinds, ZoneEventMap } from "./ZoneBinds";
|
||||||
|
|
||||||
export type NativeMethods = DialogBinds & FastFileBinds;
|
export type NativeMethods = DialogBinds & ZoneBinds;
|
||||||
|
|
||||||
type NativeEventMap = FastFileEventMap;
|
type NativeEventMap = ZoneEventMap;
|
||||||
|
|
||||||
type WebViewExtensions = {
|
type WebViewExtensions = {
|
||||||
webviewBinds: NativeMethods;
|
webviewBinds: NativeMethods;
|
||||||
|
Reference in New Issue
Block a user