Interface ClientOptions
interface ClientOptions {
autoFetchDataPackage?: boolean;
debugLogVersions: boolean;
maximumMessages?: number;
timeout?: number;
}
autoFetchDataPackage?: boolean;
debugLogVersions: boolean;
maximumMessages?: number;
timeout?: number;
}
Index
Properties
Optional
autoFetchDataPackage
autoFetchDataPackage ?: boolean
Automatically requests the DataPackage from the server during Client.login, if the packages are missing in the DataPackageManager.
debugLogVersions
debugLogVersions : boolean
If enabled, logs the game, library version, and user agent to data storage, which can be used for debugging purposes.
Optional
maximumMessages
maximumMessages ?: number
Determines the maximum number of chat messages to log in MessageManager.
Optional
timeout
timeout?: number
The maximum number of milliseconds to wait for a response from the server when awaiting a response to a client packet.
An interface of client options that can be set on a Client object.