import { HubHistoryRoomAdditionOptions } from './types'; import History from '../../History'; import { Game } from '../../../misc/games'; /** * This class contains data of a room creation event * @author Eirik Måseidvåg */ export default class HubHistoryRoomAddition extends History { /** * The room name * @public */ readonly name: string; /** * The room description * @public */ readonly description: string; /** * The room game * @public */ readonly game: Game; /** * The room cover * @public */ readonly cover: string | null; /** * Determines weather or not the room is private * @public */ readonly isPrivate: boolean; constructor(options: HubHistoryRoomAdditionOptions); }