/** * Engine API * Civilization Engine API * * OpenAPI spec version: 1.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Configuration } from '../configuration'; export declare class ASCIIService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm; /** * Get ascii board * Get ascii board * @param boardId Board ID * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getAsciiBoard(boardId: number, observe?: 'body', reportProgress?: boolean): Observable; getAsciiBoard(boardId: number, observe?: 'response', reportProgress?: boolean): Observable>; getAsciiBoard(boardId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Get ascii game * Get ascii board from game * @param gameId Board ID * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getAsciiGame(gameId: number, observe?: 'body', reportProgress?: boolean): Observable; getAsciiGame(gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; getAsciiGame(gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; }