mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
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`
14 lines
244 B
TypeScript
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;
|
|
}
|