/** * Hathora Cloud API * Welcome to the Hathora Cloud API documentation! Learn how to use the Hathora Cloud APIs to build and scale your game servers globally. * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { LobbyCreatedBy } from './LobbyCreatedBy'; import type { LobbyVisibility } from './LobbyVisibility'; import type { Region } from './Region'; /** * A lobby object allows you to store and manage metadata for your rooms. * @export * @interface Lobby */ export interface Lobby { /** * User-defined identifier for a lobby. * @type {string} * @memberof Lobby */ shortCode: string | null; /** * JSON blob to store metadata for a room. Must be smaller than 1MB. * @type {any} * @memberof Lobby */ state?: any | null; /** * User input to initialize the game state. Object must be smaller than 64KB. * @type {any} * @memberof Lobby */ initialConfig: any | null; /** * When the lobby was created. * @type {Date} * @memberof Lobby */ createdAt: Date; /** * * @type {LobbyCreatedBy} * @memberof Lobby */ createdBy: LobbyCreatedBy; /** * * @type {boolean} * @memberof Lobby * @deprecated */ local: boolean; /** * * @type {LobbyVisibility} * @memberof Lobby */ visibility: LobbyVisibility; /** * * @type {Region} * @memberof Lobby */ region: Region; /** * Unique identifier to a game session or match. Use the default system generated ID or overwrite it with your own. * Note: error will be returned if `roomId` is not globally unique. * @type {string} * @memberof Lobby */ roomId: string; /** * System generated unique identifier for an application. * @type {string} * @memberof Lobby */ appId: string; } /** * Check if a given object implements the Lobby interface. */ export declare function instanceOfLobby(value: object): boolean; export declare function LobbyFromJSON(json: any): Lobby; export declare function LobbyFromJSONTyped(json: any, ignoreDiscriminator: boolean): Lobby; export declare function LobbyToJSON(value?: Lobby | null): any;