gameguard-client
Version:
The client-side companion to the GameGuard that communicates with the server to manage the player and their data.
19 lines (18 loc) • 627 B
TypeScript
/**
* The options available for an instance of GameGuardClient and their default values.
*/
export default class Options {
/**
* Indicates whether the websocket will connect to the server with a secure connection or not.
*
* @property {boolean}
*
* @default false
*/
useSecure: boolean;
/**
* @param {Object} options The options passed to GameGuardClient on initialization.
* @param {boolean} [options.useSecure=false] Indicates whether the websocket will connect to the server with a secure connection or not.
*/
constructor(options: Object);
}