Get tags from the admin
And uses tag "admin" to choose whether to display the console or not
This commit is contained in:
parent
3710c3cb7d
commit
98bda49d7e
6 changed files with 33 additions and 11 deletions
|
@ -7,7 +7,7 @@ import {WebSocket} from "uWebSockets.js"
|
|||
export interface ExSocketInterface extends WebSocket, Identificable {
|
||||
token: string;
|
||||
roomId: string;
|
||||
userId: number; // A temporary (autoincremented) identifier for this user
|
||||
//userId: number; // A temporary (autoincremented) identifier for this user
|
||||
userUuid: string; // A unique identifier for this user
|
||||
name: string;
|
||||
characterLayers: string[];
|
||||
|
@ -19,5 +19,6 @@ export interface ExSocketInterface extends WebSocket, Identificable {
|
|||
emitInBatch: (payload: SubMessage) => void;
|
||||
batchedMessages: BatchMessage;
|
||||
batchTimeout: NodeJS.Timeout|null;
|
||||
disconnecting: boolean
|
||||
disconnecting: boolean,
|
||||
tags: string[]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue