Files
new-phone-who-dis/resources/server/players/player.interfaces.ts
T
Taso 268bd4f4a4 refactor(server/players): Take a different approach to multichar
This changes how multicharacter support is implemented entirely.

Instead there are now events for creating a new player & unloading a player. These should be called whenever a character is switched. Documentation will be added for `npwd:newPlayer` & `npwd:unloadPlayer`
2021-04-18 15:38:50 -04:00

14 lines
244 B
TypeScript

export interface PlayerAddData {
source: number;
identifier: string;
firstname?: string;
lastname?: string;
}
export interface CreatePlayerInstance {
source: number;
username: string;
identifier: string;
phoneNumber: string;
}