/** * 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 { CivIntAction } from '../model/civIntAction'; import { CivMapAction } from '../model/civMapAction'; import { CivNameAction } from '../model/civNameAction'; import { CivUnitAction } from '../model/civUnitAction'; import { CivUuidAction } from '../model/civUuidAction'; import { CivUuidMapAction } from '../model/civUuidMapAction'; import { GameEngineDto } from '../model/gameEngineDto'; import { MapAction } from '../model/mapAction'; import { NameMapAction } from '../model/nameMapAction'; import { UuidAction } from '../model/uuidAction'; import { UuidBoolAction } from '../model/uuidBoolAction'; import { Configuration } from '../configuration'; export declare class EngineCityManagementService { 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; /** * Add civilization coin * Add coin to civilization sheet * @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. */ addCivilizationCoin(body: CivAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; addCivilizationCoin(body: CivAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; addCivilizationCoin(body: CivAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Add technology coin * Add coin to 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. */ addTechnologyCoin(body: CivUuidAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; addTechnologyCoin(body: CivUuidAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; addTechnologyCoin(body: CivUuidAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Advance track position * Advance market culture track position * @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. */ advanceTrackPosition(body: CivAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; advanceTrackPosition(body: CivAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; advanceTrackPosition(body: CivAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Destroy wonder * Destroy map or market wonder * @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. */ destroyWonder(body: UuidAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; destroyWonder(body: UuidAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; destroyWonder(body: UuidAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Place army * Take army from civilization sheet and place to 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. */ placeArmy(body: CivMapAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; placeArmy(body: CivMapAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; placeArmy(body: CivMapAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Place building * Take building from market and place to 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. */ placeBuilding(body: NameMapAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; placeBuilding(body: NameMapAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; placeBuilding(body: NameMapAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Place hands great person * Take great person from civilization sheet and place to 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. */ placeGreatPerson(body: CivUuidMapAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; placeGreatPerson(body: CivUuidMapAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; placeGreatPerson(body: CivUuidMapAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Place market great person * Take great person from market and place to 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. */ placeMarketGreatPerson(body: MapAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; placeMarketGreatPerson(body: MapAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; placeMarketGreatPerson(body: MapAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Place scout * Take scout from civilization sheet and place to 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. */ placeScout(body: CivMapAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; placeScout(body: CivMapAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; placeScout(body: CivMapAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Place wonder * Take open wonder from market and place to 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. */ placeWonder(body: NameMapAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; placeWonder(body: NameMapAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; placeWonder(body: NameMapAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Remove civilization coin * Remove coin from civilization sheet * @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. */ removeCivilizationCoin(body: CivAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; removeCivilizationCoin(body: CivAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; removeCivilizationCoin(body: CivAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Remove technology coin * Remove coin from 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. */ removeTechnologyCoin(body: CivUuidAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; removeTechnologyCoin(body: CivUuidAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; removeTechnologyCoin(body: CivUuidAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Set city walled * Set map city walled or destroy walls * @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. */ setCityWalled(body: UuidBoolAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; setCityWalled(body: UuidBoolAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; setCityWalled(body: UuidBoolAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Set culture * Set civilization culture * @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. */ setCulture(body: CivIntAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; setCulture(body: CivIntAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; setCulture(body: CivIntAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Set track position * Set market culture track position * @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. */ setTrackPosition(body: CivIntAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; setTrackPosition(body: CivIntAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; setTrackPosition(body: CivIntAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Take culture event 1 * Take level 1 culture event from market * @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. */ takeCultureEventLevel1(body: CivAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; takeCultureEventLevel1(body: CivAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; takeCultureEventLevel1(body: CivAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Take culture event 2 * Take level 2 culture event from market * @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. */ takeCultureEventLevel2(body: CivAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; takeCultureEventLevel2(body: CivAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; takeCultureEventLevel2(body: CivAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Take culture event 3 * Take level 3 culture event from market * @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. */ takeCultureEventLevel3(body: CivAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; takeCultureEventLevel3(body: CivAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; takeCultureEventLevel3(body: CivAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Take great person * Take great person from market * @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. */ takeGreatPerson(body: CivAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; takeGreatPerson(body: CivAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; takeGreatPerson(body: CivAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Take resource * Take resource from market * @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. */ takeResource(body: CivNameAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; takeResource(body: CivNameAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; takeResource(body: CivNameAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; /** * Take unit * Take unit from market * @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. */ takeUnit(body: CivUnitAction, gameId: number, observe?: 'body', reportProgress?: boolean): Observable; takeUnit(body: CivUnitAction, gameId: number, observe?: 'response', reportProgress?: boolean): Observable>; takeUnit(body: CivUnitAction, gameId: number, observe?: 'events', reportProgress?: boolean): Observable>; }