import { EventType } from './enums/event-type';

export interface Player extends Entity {
	//TODO: Remove these from the game engine & replace here
	getDialogs: () => any
	getCombatSchedule: () => any
	getEquipment: () => any
	switchSheathing: () => any
	getChat: () => any
	getSavedChannelOwner: () => any
}

export interface Npc extends Entity {

}

export interface Entity extends Node {

}

export interface Location extends Node {

}

export interface Node {

}

export interface CoordGrid {

}

export interface DynamicMapSquare {

}

export interface NodeHash {

}

export interface EventContext {
	event: EventType;
	trigger: number | string;
	player: Player;
	npc?: Npc;
	console?: boolean;
	cmdArgs?: string[];
	component?: number;
	interface?: number;
	slot?: number;
	button?: number;
	fromslot?: number;
	toslot?: number;
}

import { EventType } from './enums/event-type';

export interface Player extends Entity {
	//TODO: Remove these from the game engine & replace here
	getDialogs: () => any
	getCombatSchedule: () => any
	getEquipment: () => any
	switchSheathing: () => any
	getChat: () => any
	getSavedChannelOwner: () => any
}

export interface Npc extends Entity {

}

export interface Entity extends Node {

}

export interface Location extends Node {

}

export interface Node {

}

export interface CoordGrid {

}

export interface DynamicMapSquare {

}

export interface NodeHash {

}

export interface EventContext {
	event: EventType;
	trigger: number | string;
	player: Player;
	npc?: Npc;
	location?: Location;
	console?: boolean;
	cmdArgs?: string[];
	component?: number;
	interface?: number;
	slot?: number;
	button?: number;
	fromslot?: number;
	toslot?: number;
}

Add 'location' to the event context
Add 'location' to the event context
