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`
This commit is contained in:
Taso committed 2021-04-19 14:14:24 -04:00
1 parent 222070eeea
commit 558f2388fc
11 files changed
+391 -377

No files matched your search

@@ -0,0 +1,13 @@
export interface PlayerAddData {
source: number;
identifier: string;
firstname?: string;
lastname?: string;
}
export interface CreatePlayerInstance {
source: number;
username: string;
identifier: string;
phoneNumber: string;
}