Enable toggling waypoint sending characters

This commit is contained in:
2025-08-28 15:33:05 +02:00
parent 2d6af8bfa9
commit 81713d09fd
6 changed files with 185 additions and 67 deletions

View File

@@ -21,3 +21,5 @@ export function PostRouteForAllByNames(arg1:string,arg2:Array<string>):Promise<v
export function SetDestinationForAll(arg1:string,arg2:boolean,arg3:boolean):Promise<void>;
export function StartESILogin():Promise<string>;
export function ToggleCharacterWaypointEnabled(arg1:number):Promise<void>;

View File

@@ -41,3 +41,7 @@ export function SetDestinationForAll(arg1, arg2, arg3) {
export function StartESILogin() {
return window['go']['main']['App']['StartESILogin']();
}
export function ToggleCharacterWaypointEnabled(arg1) {
return window['go']['main']['App']['ToggleCharacterWaypointEnabled'](arg1);
}

View File

@@ -3,6 +3,7 @@ export namespace main {
export class CharacterInfo {
character_id: number;
character_name: string;
waypoint_enabled: boolean;
static createFrom(source: any = {}) {
return new CharacterInfo(source);
@@ -12,6 +13,7 @@ export namespace main {
if ('string' === typeof source) source = JSON.parse(source);
this.character_id = source["character_id"];
this.character_name = source["character_name"];
this.waypoint_enabled = source["waypoint_enabled"];
}
}
export class CharacterLocation {