/** * 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 { CivAction } from '../model/civAction'; import { CivUuidAction } from '../model/civUuidAction'; import { CivUuidIntAction } from '../model/civUuidIntAction'; import { GameEngineDto } from '../model/gameEngineDto'; import { Configuration } from '../configuration'; export declare class EngineResearchService { 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; /** * Choose technology * Choose civilization technology for learning * @param body * @param gameId Game 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. */ chooseTechnologyForLearn(body: CivUuidIntAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; chooseTechnologyForLearn(body: CivUuidIntAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; chooseTechnologyForLearn(body: CivUuidIntAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Learn choosed * Learn all choosed by civilizations technologies * @param gameId Game 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. */ learnChoosedTechnology(gameId: number, observe?: 'body', reportProgress?: boolean): Observable; learnChoosedTechnology(gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; learnChoosedTechnology(gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Learn technology * Learn civilization technology * @param body * @param gameId Game 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. */ learnTechnology(body: CivUuidIntAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; learnTechnology(body: CivUuidIntAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; learnTechnology(body: CivUuidIntAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Unchoose technology * Unchoose civilization technologies for learning * @param body * @param gameId Game 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. */ unchooseTechnologyForLearn(body: CivAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; unchooseTechnologyForLearn(body: CivAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; unchooseTechnologyForLearn(body: CivAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Unlearn technology * Unlearn civilization technology and remove it from pyramimd * @param body * @param gameId Game 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. */ unlearnTechnology(body: CivUuidAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; unlearnTechnology(body: CivUuidAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; unlearnTechnology(body: CivUuidAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; }