mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 11:38:49 -07:00
refactor web socket layer
This commit is contained in:
parent
19f5eefdd2
commit
141f0e59f5
124 changed files with 927 additions and 853 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { StatusEnum, User, WebSocketConnectReason, WebSocketConnectOptions } from 'types';
|
||||
import { SessionCommands, webClient } from 'websocket';
|
||||
import { SessionCommands } from 'websocket';
|
||||
import { ServerInfo_User_UserLevelFlag } from 'generated/proto/serverinfo_user_pb';
|
||||
|
||||
export class AuthenticationService {
|
||||
|
|
@ -48,8 +48,4 @@ export class AuthenticationService {
|
|||
static isAdmin() {
|
||||
|
||||
}
|
||||
|
||||
static connectionAttemptMade() {
|
||||
return webClient.connectionAttemptMade;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue