@xmobitea/gn-server
Version:
GearN Server by XmobiTea (Pro)
14 lines (13 loc) • 510 B
TypeScript
import * as mongoDB from "mongodb";
import { GamePlayerBase } from "./GamePlayerBase";
export declare class GamePlayer extends GamePlayerBase {
private static readonly _userId;
private static readonly _socketId;
private readonly userId;
private socketId;
constructor(result: mongoDB.WithId<mongoDB.Document>, collection: mongoDB.Collection<mongoDB.Document>);
private setDocumentGamePlayer;
getUserId(): string;
getSocketId(): string;
setSocketId(socketId: string): void;
}