@tsukilabs/nil-bindings 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +3 -0
- package/dist/index.js +7 -0
- package/dist/src/Academy.d.ts +7 -0
- package/dist/src/AcademyRecruitCatalog.d.ts +7 -0
- package/dist/src/AcademyRecruitCatalogEntry.d.ts +9 -0
- package/dist/src/AcademyRecruitCatalogRecipe.d.ts +10 -0
- package/dist/src/AcademyRecruitOrder.d.ts +12 -0
- package/dist/src/AcademyRecruitOrderId.d.ts +1 -0
- package/dist/src/AcademyRecruitOrderRequest.d.ts +7 -0
- package/dist/src/AcademyRecruitOrderState.d.ts +7 -0
- package/dist/src/AcademyRecruitQueue.d.ts +4 -0
- package/dist/src/AcademyUnitId.d.ts +1 -0
- package/dist/src/AddAcademyRecruitOrderRequest.d.ts +6 -0
- package/dist/src/AddPrefectureBuildOrderRequest.d.ts +6 -0
- package/dist/src/AddStableRecruitOrderRequest.d.ts +6 -0
- package/dist/src/AddWorkshopRecruitOrderRequest.d.ts +6 -0
- package/dist/src/Army.d.ts +10 -0
- package/dist/src/ArmyId.d.ts +1 -0
- package/dist/src/ArmyPersonnel.d.ts +10 -0
- package/dist/src/ArmyState.d.ts +7 -0
- package/dist/src/AuthorizeRequest.d.ts +6 -0
- package/dist/src/AuthorizeResponse.d.ts +2 -0
- package/dist/src/BattleReport.d.ts +17 -0
- package/dist/src/BattleResult.d.ts +15 -0
- package/dist/src/BattleWinner.d.ts +1 -0
- package/dist/src/BotAdvancedStartRatio.d.ts +4 -0
- package/dist/src/BotDensity.d.ts +1 -0
- package/dist/src/BotId.d.ts +1 -0
- package/dist/src/BuildStep.d.ts +6 -0
- package/dist/src/BuildingId.d.ts +1 -0
- package/dist/src/BuildingLevel.d.ts +1 -0
- package/dist/src/BuildingLevelDiff.d.ts +1 -0
- package/dist/src/BuildingStats.d.ts +17 -0
- package/dist/src/BuildingStatsTable.d.ts +11 -0
- package/dist/src/CancelAcademyRecruitOrderRequest.d.ts +8 -0
- package/dist/src/CancelPrefectureBuildOrderRequest.d.ts +6 -0
- package/dist/src/CancelStableRecruitOrderRequest.d.ts +8 -0
- package/dist/src/CancelWorkshopRecruitOrderRequest.d.ts +8 -0
- package/dist/src/ChatHistory.d.ts +5 -0
- package/dist/src/ChatMessage.d.ts +11 -0
- package/dist/src/ChatMessageAuthor.d.ts +7 -0
- package/dist/src/ChatMessageContent.d.ts +1 -0
- package/dist/src/ChatMessageId.d.ts +1 -0
- package/dist/src/ChatMessageKind.d.ts +1 -0
- package/dist/src/CheatGetAcademyRecruitQueueRequest.d.ts +6 -0
- package/dist/src/CheatGetAcademyRecruitQueueResponse.d.ts +2 -0
- package/dist/src/CheatGetAcademyRecruitQueuesRequest.d.ts +7 -0
- package/dist/src/CheatGetAcademyRecruitQueuesResponse.d.ts +6 -0
- package/dist/src/CheatGetAllAcademyRecruitQueuesRequest.d.ts +5 -0
- package/dist/src/CheatGetAllAcademyRecruitQueuesResponse.d.ts +6 -0
- package/dist/src/CheatGetAllPrefectureBuildQueuesRequest.d.ts +5 -0
- package/dist/src/CheatGetAllPrefectureBuildQueuesResponse.d.ts +6 -0
- package/dist/src/CheatGetAllStableRecruitQueuesRequest.d.ts +5 -0
- package/dist/src/CheatGetAllStableRecruitQueuesResponse.d.ts +6 -0
- package/dist/src/CheatGetBuildStepsRequest.d.ts +6 -0
- package/dist/src/CheatGetBuildStepsResponse.d.ts +2 -0
- package/dist/src/CheatGetEthicsRequest.d.ts +6 -0
- package/dist/src/CheatGetEthicsResponse.d.ts +2 -0
- package/dist/src/CheatGetIdleArmiesAtRequest.d.ts +6 -0
- package/dist/src/CheatGetIdleArmiesAtResponse.d.ts +2 -0
- package/dist/src/CheatGetIdlePersonnelAtRequest.d.ts +6 -0
- package/dist/src/CheatGetIdlePersonnelAtResponse.d.ts +2 -0
- package/dist/src/CheatGetInfrastructureRequest.d.ts +6 -0
- package/dist/src/CheatGetInfrastructureResponse.d.ts +2 -0
- package/dist/src/CheatGetManeuversOfRequest.d.ts +6 -0
- package/dist/src/CheatGetManeuversOfResponse.d.ts +2 -0
- package/dist/src/CheatGetManeuversRequest.d.ts +4 -0
- package/dist/src/CheatGetManeuversResponse.d.ts +2 -0
- package/dist/src/CheatGetPlayerRequest.d.ts +6 -0
- package/dist/src/CheatGetPlayerResponse.d.ts +2 -0
- package/dist/src/CheatGetPlayersRequest.d.ts +4 -0
- package/dist/src/CheatGetPlayersResponse.d.ts +2 -0
- package/dist/src/CheatGetPrefectureBuildQueueRequest.d.ts +6 -0
- package/dist/src/CheatGetPrefectureBuildQueueResponse.d.ts +2 -0
- package/dist/src/CheatGetPrefectureBuildQueuesRequest.d.ts +7 -0
- package/dist/src/CheatGetPrefectureBuildQueuesResponse.d.ts +6 -0
- package/dist/src/CheatGetResourcesRequest.d.ts +6 -0
- package/dist/src/CheatGetResourcesResponse.d.ts +2 -0
- package/dist/src/CheatGetStableRecruitQueueRequest.d.ts +6 -0
- package/dist/src/CheatGetStableRecruitQueueResponse.d.ts +2 -0
- package/dist/src/CheatGetStableRecruitQueuesRequest.d.ts +7 -0
- package/dist/src/CheatGetStableRecruitQueuesResponse.d.ts +6 -0
- package/dist/src/CheatGetStorageCapacityRequest.d.ts +6 -0
- package/dist/src/CheatGetStorageCapacityResponse.d.ts +2 -0
- package/dist/src/CheatSetBotEthicsRequest.d.ts +8 -0
- package/dist/src/CheatSetBuildingLevelRequest.d.ts +10 -0
- package/dist/src/CheatSetFoodRequest.d.ts +8 -0
- package/dist/src/CheatSetIronRequest.d.ts +8 -0
- package/dist/src/CheatSetMaxFoodRequest.d.ts +6 -0
- package/dist/src/CheatSetMaxInfrastructureRequest.d.ts +6 -0
- package/dist/src/CheatSetMaxIronRequest.d.ts +6 -0
- package/dist/src/CheatSetMaxResourcesRequest.d.ts +6 -0
- package/dist/src/CheatSetMaxSiloResourcesRequest.d.ts +6 -0
- package/dist/src/CheatSetMaxStoneRequest.d.ts +6 -0
- package/dist/src/CheatSetMaxWarehouseResourcesRequest.d.ts +6 -0
- package/dist/src/CheatSetMaxWoodRequest.d.ts +6 -0
- package/dist/src/CheatSetResourcesRequest.d.ts +8 -0
- package/dist/src/CheatSetStabilityRequest.d.ts +8 -0
- package/dist/src/CheatSetStoneRequest.d.ts +8 -0
- package/dist/src/CheatSetWoodRequest.d.ts +8 -0
- package/dist/src/CheatSkipRoundRequest.d.ts +5 -0
- package/dist/src/CheatSpawnBotRequest.d.ts +7 -0
- package/dist/src/CheatSpawnBotResponse.d.ts +2 -0
- package/dist/src/CheatSpawnPersonnelRequest.d.ts +10 -0
- package/dist/src/City.d.ts +12 -0
- package/dist/src/CityName.d.ts +1 -0
- package/dist/src/CitySearch.d.ts +6 -0
- package/dist/src/ContinentIndex.d.ts +1 -0
- package/dist/src/ContinentSize.d.ts +1 -0
- package/dist/src/Coord.d.ts +4 -0
- package/dist/src/Cost.d.ts +4 -0
- package/dist/src/CreateRemoteWorldRequest.d.ts +9 -0
- package/dist/src/CreateRemoteWorldResponse.d.ts +2 -0
- package/dist/src/CreateUserRequest.d.ts +6 -0
- package/dist/src/DeleteRemoteWorldRequest.d.ts +4 -0
- package/dist/src/EthicPowerAxis.d.ts +1 -0
- package/dist/src/EthicTruthAxis.d.ts +1 -0
- package/dist/src/Ethics.d.ts +6 -0
- package/dist/src/Event.d.ts +38 -0
- package/dist/src/Farm.d.ts +5 -0
- package/dist/src/Food.d.ts +1 -0
- package/dist/src/ForwardReportRequest.d.ts +8 -0
- package/dist/src/GetAcademyRecruitCatalogRequest.d.ts +6 -0
- package/dist/src/GetAcademyRecruitCatalogResponse.d.ts +2 -0
- package/dist/src/GetBotCoordsRequest.d.ts +6 -0
- package/dist/src/GetBotCoordsResponse.d.ts +2 -0
- package/dist/src/GetChatHistoryRequest.d.ts +4 -0
- package/dist/src/GetChatHistoryResponse.d.ts +2 -0
- package/dist/src/GetCityRequest.d.ts +6 -0
- package/dist/src/GetCityResponse.d.ts +2 -0
- package/dist/src/GetCityScoreRequest.d.ts +6 -0
- package/dist/src/GetCityScoreResponse.d.ts +2 -0
- package/dist/src/GetContinentSizeRequest.d.ts +4 -0
- package/dist/src/GetContinentSizeResponse.d.ts +2 -0
- package/dist/src/GetPlayerCoordsRequest.d.ts +6 -0
- package/dist/src/GetPlayerCoordsResponse.d.ts +2 -0
- package/dist/src/GetPlayerIdsRequest.d.ts +4 -0
- package/dist/src/GetPlayerIdsResponse.d.ts +2 -0
- package/dist/src/GetPlayerMaintenanceRequest.d.ts +4 -0
- package/dist/src/GetPlayerMaintenanceResponse.d.ts +2 -0
- package/dist/src/GetPlayerMilitaryRequest.d.ts +4 -0
- package/dist/src/GetPlayerMilitaryResponse.d.ts +2 -0
- package/dist/src/GetPlayerReportsRequest.d.ts +4 -0
- package/dist/src/GetPlayerReportsResponse.d.ts +2 -0
- package/dist/src/GetPlayerRequest.d.ts +4 -0
- package/dist/src/GetPlayerResponse.d.ts +2 -0
- package/dist/src/GetPlayerStatusRequest.d.ts +6 -0
- package/dist/src/GetPlayerStatusResponse.d.ts +2 -0
- package/dist/src/GetPlayerStorageCapacityRequest.d.ts +4 -0
- package/dist/src/GetPlayerStorageCapacityResponse.d.ts +2 -0
- package/dist/src/GetPlayerWorldsRequest.d.ts +4 -0
- package/dist/src/GetPlayerWorldsResponse.d.ts +2 -0
- package/dist/src/GetPrecursorCoordsRequest.d.ts +6 -0
- package/dist/src/GetPrecursorCoordsResponse.d.ts +2 -0
- package/dist/src/GetPrefectureBuildCatalogRequest.d.ts +6 -0
- package/dist/src/GetPrefectureBuildCatalogResponse.d.ts +2 -0
- package/dist/src/GetPublicBotRequest.d.ts +6 -0
- package/dist/src/GetPublicBotResponse.d.ts +2 -0
- package/dist/src/GetPublicBotsRequest.d.ts +4 -0
- package/dist/src/GetPublicBotsResponse.d.ts +2 -0
- package/dist/src/GetPublicCitiesRequest.d.ts +8 -0
- package/dist/src/GetPublicCitiesResponse.d.ts +2 -0
- package/dist/src/GetPublicCityRequest.d.ts +7 -0
- package/dist/src/GetPublicCityResponse.d.ts +6 -0
- package/dist/src/GetPublicFieldRequest.d.ts +6 -0
- package/dist/src/GetPublicFieldResponse.d.ts +2 -0
- package/dist/src/GetPublicFieldsRequest.d.ts +6 -0
- package/dist/src/GetPublicFieldsResponse.d.ts +3 -0
- package/dist/src/GetPublicPlayerRequest.d.ts +6 -0
- package/dist/src/GetPublicPlayerResponse.d.ts +2 -0
- package/dist/src/GetPublicPlayersRequest.d.ts +4 -0
- package/dist/src/GetPublicPlayersResponse.d.ts +2 -0
- package/dist/src/GetPublicPrecursorRequest.d.ts +6 -0
- package/dist/src/GetPublicPrecursorResponse.d.ts +2 -0
- package/dist/src/GetPublicPrecursorsRequest.d.ts +4 -0
- package/dist/src/GetPublicPrecursorsResponse.d.ts +2 -0
- package/dist/src/GetRankRequest.d.ts +6 -0
- package/dist/src/GetRankResponse.d.ts +2 -0
- package/dist/src/GetRankingRequest.d.ts +4 -0
- package/dist/src/GetRankingResponse.d.ts +2 -0
- package/dist/src/GetRemoteWorldLimitPerUserResponse.d.ts +1 -0
- package/dist/src/GetRemoteWorldLimitResponse.d.ts +1 -0
- package/dist/src/GetRemoteWorldRequest.d.ts +4 -0
- package/dist/src/GetRemoteWorldResponse.d.ts +2 -0
- package/dist/src/GetRemoteWorldsResponse.d.ts +2 -0
- package/dist/src/GetReportRequest.d.ts +6 -0
- package/dist/src/GetReportResponse.d.ts +2 -0
- package/dist/src/GetReportsRequest.d.ts +7 -0
- package/dist/src/GetReportsResponse.d.ts +2 -0
- package/dist/src/GetRoundRequest.d.ts +4 -0
- package/dist/src/GetRoundResponse.d.ts +2 -0
- package/dist/src/GetServerKindResponse.d.ts +2 -0
- package/dist/src/GetStableRecruitCatalogRequest.d.ts +6 -0
- package/dist/src/GetStableRecruitCatalogResponse.d.ts +2 -0
- package/dist/src/GetWorkshopRecruitCatalogRequest.d.ts +6 -0
- package/dist/src/GetWorkshopRecruitCatalogResponse.d.ts +2 -0
- package/dist/src/GetWorldBotsRequest.d.ts +4 -0
- package/dist/src/GetWorldBotsResponse.d.ts +2 -0
- package/dist/src/GetWorldConfigRequest.d.ts +4 -0
- package/dist/src/GetWorldConfigResponse.d.ts +2 -0
- package/dist/src/GetWorldPersonnelRequest.d.ts +4 -0
- package/dist/src/GetWorldPersonnelResponse.d.ts +2 -0
- package/dist/src/GetWorldPlayersRequest.d.ts +4 -0
- package/dist/src/GetWorldPlayersResponse.d.ts +2 -0
- package/dist/src/GetWorldPrecursorsRequest.d.ts +4 -0
- package/dist/src/GetWorldPrecursorsResponse.d.ts +2 -0
- package/dist/src/GetWorldStatsRequest.d.ts +4 -0
- package/dist/src/GetWorldStatsResponse.d.ts +2 -0
- package/dist/src/Influence.d.ts +8 -0
- package/dist/src/Infrastructure.d.ts +24 -0
- package/dist/src/InfrastructureRequirements.d.ts +14 -0
- package/dist/src/InfrastructureStats.d.ts +19 -0
- package/dist/src/Iron.d.ts +1 -0
- package/dist/src/IronMine.d.ts +5 -0
- package/dist/src/LeaveRequest.d.ts +4 -0
- package/dist/src/Locale.d.ts +1 -0
- package/dist/src/Luck.d.ts +1 -0
- package/dist/src/Maintenance.d.ts +9 -0
- package/dist/src/Maneuver.d.ts +19 -0
- package/dist/src/ManeuverDirection.d.ts +1 -0
- package/dist/src/ManeuverDistance.d.ts +1 -0
- package/dist/src/ManeuverHaul.d.ts +6 -0
- package/dist/src/ManeuverId.d.ts +1 -0
- package/dist/src/ManeuverKind.d.ts +1 -0
- package/dist/src/ManeuverRequest.d.ts +9 -0
- package/dist/src/ManeuverState.d.ts +7 -0
- package/dist/src/Military.d.ts +14 -0
- package/dist/src/MineId.d.ts +1 -0
- package/dist/src/MineProduction.d.ts +4 -0
- package/dist/src/MineStats.d.ts +6 -0
- package/dist/src/MineStatsTable.d.ts +9 -0
- package/dist/src/Minutes.d.ts +1 -0
- package/dist/src/OverallStorageCapacity.d.ts +5 -0
- package/dist/src/Password.d.ts +1 -0
- package/dist/src/Player.d.ts +10 -0
- package/dist/src/PlayerExistsRequest.d.ts +6 -0
- package/dist/src/PlayerExistsResponse.d.ts +1 -0
- package/dist/src/PlayerId.d.ts +1 -0
- package/dist/src/PlayerOptions.d.ts +4 -0
- package/dist/src/PlayerStatus.d.ts +1 -0
- package/dist/src/PrecursorId.d.ts +1 -0
- package/dist/src/Prefecture.d.ts +7 -0
- package/dist/src/PrefectureBuildCatalog.d.ts +14 -0
- package/dist/src/PrefectureBuildCatalogEntry.d.ts +11 -0
- package/dist/src/PrefectureBuildCatalogRecipe.d.ts +12 -0
- package/dist/src/PrefectureBuildOrder.d.ts +16 -0
- package/dist/src/PrefectureBuildOrderId.d.ts +1 -0
- package/dist/src/PrefectureBuildOrderKind.d.ts +1 -0
- package/dist/src/PrefectureBuildOrderRequest.d.ts +8 -0
- package/dist/src/PrefectureBuildOrderState.d.ts +7 -0
- package/dist/src/PrefectureBuildQueue.d.ts +4 -0
- package/dist/src/PublicBot.d.ts +4 -0
- package/dist/src/PublicCity.d.ts +10 -0
- package/dist/src/PublicField.d.ts +10 -0
- package/dist/src/PublicPlayer.d.ts +6 -0
- package/dist/src/PublicPrecursor.d.ts +6 -0
- package/dist/src/PushChatMessageRequest.d.ts +5 -0
- package/dist/src/PushChatMessageResponse.d.ts +2 -0
- package/dist/src/Quarry.d.ts +5 -0
- package/dist/src/Rank.d.ts +1 -0
- package/dist/src/Ranking.d.ts +2 -0
- package/dist/src/RankingEntry.d.ts +9 -0
- package/dist/src/RemoteWorld.d.ts +18 -0
- package/dist/src/RemoveReportRequest.d.ts +6 -0
- package/dist/src/RenameCityRequest.d.ts +7 -0
- package/dist/src/ReportId.d.ts +1 -0
- package/dist/src/ReportKind.d.ts +9 -0
- package/dist/src/RequestManeuverRequest.d.ts +6 -0
- package/dist/src/RequestManeuverResponse.d.ts +2 -0
- package/dist/src/Resources.d.ts +10 -0
- package/dist/src/Round.d.ts +7 -0
- package/dist/src/RoundDuration.d.ts +5 -0
- package/dist/src/RoundId.d.ts +1 -0
- package/dist/src/RoundState.d.ts +10 -0
- package/dist/src/Ruler.d.ts +13 -0
- package/dist/src/SaveLocalWorldRequest.d.ts +5 -0
- package/dist/src/Sawmill.d.ts +5 -0
- package/dist/src/Score.d.ts +1 -0
- package/dist/src/SearchCityRequest.d.ts +6 -0
- package/dist/src/SearchCityResponse.d.ts +2 -0
- package/dist/src/SearchPublicCityRequest.d.ts +6 -0
- package/dist/src/SearchPublicCityResponse.d.ts +2 -0
- package/dist/src/ServerKind.d.ts +7 -0
- package/dist/src/SetPlayerReadyRequest.d.ts +5 -0
- package/dist/src/SetPlayerReadyResponse.d.ts +2 -0
- package/dist/src/SetPlayerStatusRequest.d.ts +6 -0
- package/dist/src/Silo.d.ts +5 -0
- package/dist/src/SimulateBattleRequest.d.ts +11 -0
- package/dist/src/SimulateBattleResponse.d.ts +2 -0
- package/dist/src/SpawnPlayerRequest.d.ts +8 -0
- package/dist/src/Speed.d.ts +4 -0
- package/dist/src/Squad.d.ts +9 -0
- package/dist/src/SquadSize.d.ts +1 -0
- package/dist/src/Stability.d.ts +4 -0
- package/dist/src/Stable.d.ts +7 -0
- package/dist/src/StableRecruitCatalog.d.ts +5 -0
- package/dist/src/StableRecruitCatalogEntry.d.ts +9 -0
- package/dist/src/StableRecruitCatalogRecipe.d.ts +10 -0
- package/dist/src/StableRecruitOrder.d.ts +12 -0
- package/dist/src/StableRecruitOrderId.d.ts +1 -0
- package/dist/src/StableRecruitOrderRequest.d.ts +7 -0
- package/dist/src/StableRecruitOrderState.d.ts +7 -0
- package/dist/src/StableRecruitQueue.d.ts +4 -0
- package/dist/src/StableUnitId.d.ts +1 -0
- package/dist/src/StartRoundRequest.d.ts +4 -0
- package/dist/src/StartRoundResponse.d.ts +2 -0
- package/dist/src/Stone.d.ts +1 -0
- package/dist/src/StorageCapacity.d.ts +4 -0
- package/dist/src/StorageId.d.ts +1 -0
- package/dist/src/StorageStats.d.ts +6 -0
- package/dist/src/StorageStatsTable.d.ts +9 -0
- package/dist/src/SupportReport.d.ts +15 -0
- package/dist/src/ToggleBuildingRequest.d.ts +9 -0
- package/dist/src/Token.d.ts +1 -0
- package/dist/src/UnitBox.d.ts +1 -0
- package/dist/src/UnitId.d.ts +1 -0
- package/dist/src/UserExistsRequest.d.ts +4 -0
- package/dist/src/UserExistsResponse.d.ts +1 -0
- package/dist/src/ValidateTokenRequest.d.ts +4 -0
- package/dist/src/ValidateTokenResponse.d.ts +2 -0
- package/dist/src/VersionResponse.d.ts +1 -0
- package/dist/src/Wall.d.ts +5 -0
- package/dist/src/WallDefense.d.ts +1 -0
- package/dist/src/WallDefenseBonus.d.ts +1 -0
- package/dist/src/WallStats.d.ts +8 -0
- package/dist/src/WallStatsTable.d.ts +5 -0
- package/dist/src/Warehouse.d.ts +5 -0
- package/dist/src/Wood.d.ts +1 -0
- package/dist/src/Workforce.d.ts +9 -0
- package/dist/src/Workshop.d.ts +7 -0
- package/dist/src/WorkshopRecruitCatalog.d.ts +4 -0
- package/dist/src/WorkshopRecruitCatalogEntry.d.ts +9 -0
- package/dist/src/WorkshopRecruitCatalogRecipe.d.ts +10 -0
- package/dist/src/WorkshopRecruitOrder.d.ts +12 -0
- package/dist/src/WorkshopRecruitOrderId.d.ts +1 -0
- package/dist/src/WorkshopRecruitOrderRequest.d.ts +7 -0
- package/dist/src/WorkshopRecruitOrderState.d.ts +7 -0
- package/dist/src/WorkshopRecruitQueue.d.ts +4 -0
- package/dist/src/WorkshopUnitId.d.ts +1 -0
- package/dist/src/WorldConfig.d.ts +17 -0
- package/dist/src/WorldId.d.ts +1 -0
- package/dist/src/WorldName.d.ts +1 -0
- package/dist/src/WorldOptions.d.ts +17 -0
- package/dist/src/WorldSpeed.d.ts +1 -0
- package/dist/src/WorldStats.d.ts +4 -0
- package/dist/src/WorldUnitSpeed.d.ts +1 -0
- package/dist/src/index.d.ts +345 -0
- package/package.json +39 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type GetRemoteWorldLimitPerUserResponse = number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type GetRemoteWorldLimitResponse = number;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Influence is a special resource which represents the political power of a ruler
|
|
3
|
+
* and is used to determine how many cities they can simultaneously control.
|
|
4
|
+
*
|
|
5
|
+
* The amount of influence needed to control a number `n` of cities is given by
|
|
6
|
+
* the formula `n * (n + 1) / 2`, meaning it increases as a triangular number.
|
|
7
|
+
*/
|
|
8
|
+
export type Influence = number;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Academy } from './Academy';
|
|
2
|
+
import { Farm } from './Farm';
|
|
3
|
+
import { IronMine } from './IronMine';
|
|
4
|
+
import { Prefecture } from './Prefecture';
|
|
5
|
+
import { Quarry } from './Quarry';
|
|
6
|
+
import { Sawmill } from './Sawmill';
|
|
7
|
+
import { Silo } from './Silo';
|
|
8
|
+
import { Stable } from './Stable';
|
|
9
|
+
import { Wall } from './Wall';
|
|
10
|
+
import { Warehouse } from './Warehouse';
|
|
11
|
+
import { Workshop } from './Workshop';
|
|
12
|
+
export type Infrastructure = {
|
|
13
|
+
academy: Academy;
|
|
14
|
+
farm: Farm;
|
|
15
|
+
ironMine: IronMine;
|
|
16
|
+
prefecture: Prefecture;
|
|
17
|
+
quarry: Quarry;
|
|
18
|
+
sawmill: Sawmill;
|
|
19
|
+
silo: Silo;
|
|
20
|
+
stable: Stable;
|
|
21
|
+
wall: Wall;
|
|
22
|
+
warehouse: Warehouse;
|
|
23
|
+
workshop: Workshop;
|
|
24
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BuildingLevel } from './BuildingLevel';
|
|
2
|
+
export type InfrastructureRequirements = {
|
|
3
|
+
academy: BuildingLevel;
|
|
4
|
+
farm: BuildingLevel;
|
|
5
|
+
ironMine: BuildingLevel;
|
|
6
|
+
prefecture: BuildingLevel;
|
|
7
|
+
quarry: BuildingLevel;
|
|
8
|
+
sawmill: BuildingLevel;
|
|
9
|
+
silo: BuildingLevel;
|
|
10
|
+
stable: BuildingLevel;
|
|
11
|
+
wall: BuildingLevel;
|
|
12
|
+
warehouse: BuildingLevel;
|
|
13
|
+
workshop: BuildingLevel;
|
|
14
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BuildingId } from './BuildingId';
|
|
2
|
+
import { BuildingStatsTable } from './BuildingStatsTable';
|
|
3
|
+
import { MineId } from './MineId';
|
|
4
|
+
import { MineStatsTable } from './MineStatsTable';
|
|
5
|
+
import { StorageId } from './StorageId';
|
|
6
|
+
import { StorageStatsTable } from './StorageStatsTable';
|
|
7
|
+
import { WallStatsTable } from './WallStatsTable';
|
|
8
|
+
export type InfrastructureStats = {
|
|
9
|
+
building: {
|
|
10
|
+
[key in BuildingId]?: BuildingStatsTable;
|
|
11
|
+
};
|
|
12
|
+
mine: {
|
|
13
|
+
[key in MineId]?: MineStatsTable;
|
|
14
|
+
};
|
|
15
|
+
storage: {
|
|
16
|
+
[key in StorageId]?: StorageStatsTable;
|
|
17
|
+
};
|
|
18
|
+
wall: WallStatsTable;
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Iron = number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Locale = "en-US" | "pt-BR";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Luck = number;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ArmyId } from './ArmyId';
|
|
2
|
+
import { Coord } from './Coord';
|
|
3
|
+
import { ManeuverDirection } from './ManeuverDirection';
|
|
4
|
+
import { ManeuverHaul } from './ManeuverHaul';
|
|
5
|
+
import { ManeuverId } from './ManeuverId';
|
|
6
|
+
import { ManeuverKind } from './ManeuverKind';
|
|
7
|
+
import { ManeuverState } from './ManeuverState';
|
|
8
|
+
import { Speed } from './Speed';
|
|
9
|
+
export type Maneuver = {
|
|
10
|
+
id: ManeuverId;
|
|
11
|
+
origin: Coord;
|
|
12
|
+
destination: Coord;
|
|
13
|
+
army: ArmyId;
|
|
14
|
+
kind: ManeuverKind;
|
|
15
|
+
direction: ManeuverDirection;
|
|
16
|
+
state: ManeuverState;
|
|
17
|
+
speed: Speed;
|
|
18
|
+
hauledResources: ManeuverHaul | null;
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ManeuverDirection = "going" | "returning";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ManeuverDistance = number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ManeuverId = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ManeuverKind = "attack" | "support";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Army } from './Army';
|
|
2
|
+
import { ContinentIndex } from './ContinentIndex';
|
|
3
|
+
import { ContinentSize } from './ContinentSize';
|
|
4
|
+
import { Maneuver } from './Maneuver';
|
|
5
|
+
import { ManeuverId } from './ManeuverId';
|
|
6
|
+
export type Military = {
|
|
7
|
+
continent: {
|
|
8
|
+
[key in ContinentIndex]: Array<Army>;
|
|
9
|
+
};
|
|
10
|
+
continentSize: ContinentSize;
|
|
11
|
+
maneuvers: {
|
|
12
|
+
[key in ManeuverId]: Maneuver;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type MineId = "farm" | "iron-mine" | "quarry" | "sawmill";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Minutes = number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Password = string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Influence } from './Influence';
|
|
2
|
+
import { PlayerId } from './PlayerId';
|
|
3
|
+
import { PlayerStatus } from './PlayerStatus';
|
|
4
|
+
import { Resources } from './Resources';
|
|
5
|
+
export type Player = {
|
|
6
|
+
id: PlayerId;
|
|
7
|
+
status: PlayerStatus;
|
|
8
|
+
resources: Resources;
|
|
9
|
+
influence: Influence;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PlayerExistsResponse = boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PlayerId = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PlayerStatus = "active" | "inactive";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PrecursorId = "A" | "B";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PrefectureBuildCatalogEntry } from './PrefectureBuildCatalogEntry';
|
|
2
|
+
export type PrefectureBuildCatalog = {
|
|
3
|
+
academy: PrefectureBuildCatalogEntry;
|
|
4
|
+
farm: PrefectureBuildCatalogEntry;
|
|
5
|
+
ironMine: PrefectureBuildCatalogEntry;
|
|
6
|
+
prefecture: PrefectureBuildCatalogEntry;
|
|
7
|
+
quarry: PrefectureBuildCatalogEntry;
|
|
8
|
+
sawmill: PrefectureBuildCatalogEntry;
|
|
9
|
+
silo: PrefectureBuildCatalogEntry;
|
|
10
|
+
stable: PrefectureBuildCatalogEntry;
|
|
11
|
+
wall: PrefectureBuildCatalogEntry;
|
|
12
|
+
warehouse: PrefectureBuildCatalogEntry;
|
|
13
|
+
workshop: PrefectureBuildCatalogEntry;
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InfrastructureRequirements } from './InfrastructureRequirements';
|
|
2
|
+
import { PrefectureBuildCatalogRecipe } from './PrefectureBuildCatalogRecipe';
|
|
3
|
+
export type PrefectureBuildCatalogEntry = {
|
|
4
|
+
"kind": "available";
|
|
5
|
+
recipe: PrefectureBuildCatalogRecipe;
|
|
6
|
+
} | {
|
|
7
|
+
"kind": "maxed";
|
|
8
|
+
} | {
|
|
9
|
+
"kind": "unmet";
|
|
10
|
+
requirements: InfrastructureRequirements;
|
|
11
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BuildingLevel } from './BuildingLevel';
|
|
2
|
+
import { InfrastructureRequirements } from './InfrastructureRequirements';
|
|
3
|
+
import { Maintenance } from './Maintenance';
|
|
4
|
+
import { Resources } from './Resources';
|
|
5
|
+
import { Workforce } from './Workforce';
|
|
6
|
+
export type PrefectureBuildCatalogRecipe = {
|
|
7
|
+
level: BuildingLevel;
|
|
8
|
+
resources: Resources;
|
|
9
|
+
maintenance: Maintenance;
|
|
10
|
+
workforce: Workforce;
|
|
11
|
+
requirements: InfrastructureRequirements;
|
|
12
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BuildingId } from './BuildingId';
|
|
2
|
+
import { BuildingLevel } from './BuildingLevel';
|
|
3
|
+
import { PrefectureBuildOrderId } from './PrefectureBuildOrderId';
|
|
4
|
+
import { PrefectureBuildOrderKind } from './PrefectureBuildOrderKind';
|
|
5
|
+
import { PrefectureBuildOrderState } from './PrefectureBuildOrderState';
|
|
6
|
+
import { Resources } from './Resources';
|
|
7
|
+
import { Workforce } from './Workforce';
|
|
8
|
+
export type PrefectureBuildOrder = {
|
|
9
|
+
id: PrefectureBuildOrderId;
|
|
10
|
+
kind: PrefectureBuildOrderKind;
|
|
11
|
+
building: BuildingId;
|
|
12
|
+
level: BuildingLevel;
|
|
13
|
+
resources: Resources;
|
|
14
|
+
workforce: Workforce;
|
|
15
|
+
state: PrefectureBuildOrderState;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PrefectureBuildOrderId = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PrefectureBuildOrderKind = "construction" | "demolition";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BuildingId } from './BuildingId';
|
|
2
|
+
import { Coord } from './Coord';
|
|
3
|
+
import { PrefectureBuildOrderKind } from './PrefectureBuildOrderKind';
|
|
4
|
+
export type PrefectureBuildOrderRequest = {
|
|
5
|
+
coord: Coord;
|
|
6
|
+
building: BuildingId;
|
|
7
|
+
kind: PrefectureBuildOrderKind;
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Rank = number;
|