Skip to content

Commit

Permalink
Undo format
Browse files Browse the repository at this point in the history
  • Loading branch information
jackTabsCode committed Apr 23, 2024
1 parent c6ad03b commit acafc34
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions lib/debugger/debugger.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,52 +15,52 @@ import hoverInspect from "./widgets/hoverInspect";
import { AnyEntity } from "../World";

declare namespace Debugger {
interface CustomWidgets {
panel: typeof panel;
selectionList: typeof selectionList;
container: typeof container;
frame: typeof frame;
link: typeof link;
realmSwitch: typeof realmSwitch;
valueInspect: typeof valueInspect;
worldInspect: typeof worldInspect;
entityInspect: typeof entityInspect;
tooltip: typeof tooltip;
hoverInspect: typeof hoverInspect;
}
interface CustomWidgets {
panel: typeof panel;
selectionList: typeof selectionList;
container: typeof container;
frame: typeof frame;
link: typeof link;
realmSwitch: typeof realmSwitch;
valueInspect: typeof valueInspect;
worldInspect: typeof worldInspect;
entityInspect: typeof entityInspect;
tooltip: typeof tooltip;
hoverInspect: typeof hoverInspect;
}
}

declare class Debugger<T extends Array<unknown>> {
public enabled: boolean;
public authorize?: (player: Player) => boolean;
public componentRefreshFrequency?: number;
public findInstanceFromEntity?: (id: AnyEntity) => Instance | undefined;
public enabled: boolean;
public authorize?: (player: Player) => boolean;
public componentRefreshFrequency?: number;
public findInstanceFromEntity?: (id: AnyEntity) => Instance | undefined;

public constructor(plasma: Plasma);
public constructor(plasma: Plasma);

public show(): void;
public show(): void;

public hide(): void;
public hide(): void;

public toggle(): void;
public toggle(): void;

public connectPlayer(): void;
public connectPlayer(): void;

public disconnectPlayer(): void;
public disconnectPlayer(): void;

public autoInitialize(loop: Loop<T>): void;
public autoInitialize(loop: Loop<T>): void;

public replaceSystem(oldSystem: System<T>, newSystem: System<T>): void;
public replaceSystem(oldSystem: System<T>, newSystem: System<T>): void;

public switchToServerView(): void;
public switchToServerView(): void;

public switchToClientView(): void;
public switchToClientView(): void;

public draw<T extends Array<unknown>>(loop: Loop<T>): void;
public draw<T extends Array<unknown>>(loop: Loop<T>): void;

public getWidgets(): Widgets;

public loopParameterNames: Array<string>;
public getWidgets(): Widgets;
public loopParameterNames: Array<string>;
}

export = Debugger;

0 comments on commit acafc34

Please sign in to comment.