This way, if a user A blocks another user B, if user B refreshes the browser or leaves and re-enters the room, user B will still be blocked. As a side effect, this allows us to completely remove the "sockets" property in the SocketManager on the Pusher.
11 lines
300 B
TypeScript
11 lines
300 B
TypeScript
import type { BodyResourceDescriptionInterface } from "../Entity/PlayerTextures";
|
|
|
|
export interface PlayerInterface {
|
|
userId: number;
|
|
name: string;
|
|
characterLayers: BodyResourceDescriptionInterface[];
|
|
visitCardUrl: string | null;
|
|
companion: string | null;
|
|
userUuid: string;
|
|
}
|