CGameClient class
A Game client instance is used to join a game room on the server
Signature:
export declare class CGameClient<S extends BaseRoomState = any, CM = any, RM = any>
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the CGameClient
class.
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
|
GameRoom<S, CM, RM> | ||
|
any | ||
|
ConnectionStatus | ||
|
boolean |
Methods
Method |
Modifiers |
Description |
---|---|---|
Used to join a game room on the server Returns a GameRoom instance | ||