/** * 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 { CivMapAction } from '../model/civMapAction'; import { CivMapSquaresAction } from '../model/civMapSquaresAction'; import { CivUuidAction } from '../model/civUuidAction'; import { GameEngineDto } from '../model/gameEngineDto'; import { MapTerrainAction } from '../model/mapTerrainAction'; import { Configuration } from '../configuration'; export declare class EngineStartOfTurnService { 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; /** * Place capital * Place capital to the map * @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. */ placeCapital(body: CivMapAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; placeCapital(body: CivMapAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; placeCapital(body: CivMapAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Place city * Place city to the map * @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. */ placeCity(body: CivMapAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; placeCity(body: CivMapAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; placeCity(body: CivMapAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Set government * Set civilization government * @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. */ setGovernment(body: CivUuidAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; setGovernment(body: CivUuidAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; setGovernment(body: CivUuidAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Set terrain * Set map square terrain * @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. */ setTerrain(body: MapTerrainAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; setTerrain(body: MapTerrainAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; setTerrain(body: MapTerrainAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Swap positionables * Swap positionables between to squares * @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. */ swapPositionables(body: CivMapSquaresAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; swapPositionables(body: CivMapSquaresAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; swapPositionables(body: CivMapSquaresAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; }