Adding a playersStore

The playerStore can be useful to get the details of a given player from its ID.
This commit is contained in:
David Négrier 2021-07-06 17:13:08 +02:00
parent 194d6a6414
commit 46e6917df6
8 changed files with 62 additions and 24 deletions

View file

@ -1,11 +1,6 @@
import type {PointInterface} from "../../Connexion/ConnexionModels";
import type {BodyResourceDescriptionInterface} from "../Entity/PlayerTextures";
import type {PlayerInterface} from "./PlayerInterface";
export interface AddPlayerInterface {
userId: number;
name: string;
characterLayers: BodyResourceDescriptionInterface[];
export interface AddPlayerInterface extends PlayerInterface {
position: PointInterface;
visitCardUrl: string|null;
companion: string|null;
}