@tsukilabs/nil-bindings 0.7.20 → 0.7.22
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/dist/Capital.d.ts +7 -0
- package/dist/CheatGetInfluenceRequest.d.ts +9 -0
- package/dist/CheatGetInfluenceResponse.d.ts +5 -0
- package/dist/CheatSetInfluenceRequest.d.ts +11 -0
- package/dist/GetCityLimitRequest.d.ts +7 -0
- package/dist/GetCityLimitResponse.d.ts +4 -0
- package/dist/InfluenceResourceCost.d.ts +8 -0
- package/dist/Market.d.ts +0 -2
- package/dist/MarketOperation.d.ts +4 -0
- package/dist/Player.d.ts +2 -0
- package/dist/PublicBot.d.ts +2 -0
- package/dist/PublicCapital.d.ts +7 -0
- package/dist/PublicPlayer.d.ts +2 -0
- package/dist/PublicPrecursor.d.ts +2 -0
- package/dist/Resources.d.ts +3 -1
- package/dist/WorldStats.d.ts +4 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//! Copyright (C) Call of Nil contributors
|
|
2
|
+
//! SPDX-License-Identifier: AGPL-3.0-only
|
|
3
|
+
|
|
4
|
+
import { Influence } from './Influence';
|
|
5
|
+
import { Ruler } from './Ruler';
|
|
6
|
+
import { WorldId } from './WorldId';
|
|
7
|
+
export type CheatSetInfluenceRequest = {
|
|
8
|
+
world: WorldId;
|
|
9
|
+
ruler?: Ruler | null;
|
|
10
|
+
influence: Influence;
|
|
11
|
+
};
|
package/dist/Market.d.ts
CHANGED
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
//! SPDX-License-Identifier: AGPL-3.0-only
|
|
3
3
|
|
|
4
4
|
import { MarketFee } from './MarketFee';
|
|
5
|
-
import { MarketPriceTable } from './MarketPriceTable';
|
|
6
5
|
import { MarketVault } from './MarketVault';
|
|
7
6
|
export type Market = {
|
|
8
7
|
vault: MarketVault;
|
|
9
8
|
fee: MarketFee;
|
|
10
|
-
priceTable: MarketPriceTable;
|
|
11
9
|
};
|
package/dist/Player.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
//! Copyright (C) Call of Nil contributors
|
|
2
2
|
//! SPDX-License-Identifier: AGPL-3.0-only
|
|
3
3
|
|
|
4
|
+
import { Capital } from './Capital';
|
|
4
5
|
import { Gold } from './Gold';
|
|
5
6
|
import { Influence } from './Influence';
|
|
6
7
|
import { PlayerId } from './PlayerId';
|
|
@@ -9,6 +10,7 @@ import { Resources } from './Resources';
|
|
|
9
10
|
export type Player = {
|
|
10
11
|
id: PlayerId;
|
|
11
12
|
status: PlayerStatus;
|
|
13
|
+
capital: Capital;
|
|
12
14
|
resources: Resources;
|
|
13
15
|
gold: Gold;
|
|
14
16
|
influence: Influence;
|
package/dist/PublicBot.d.ts
CHANGED
package/dist/PublicPlayer.d.ts
CHANGED
package/dist/Resources.d.ts
CHANGED
|
@@ -6,7 +6,9 @@ import { Iron } from './Iron';
|
|
|
6
6
|
import { Stone } from './Stone';
|
|
7
7
|
import { Wood } from './Wood';
|
|
8
8
|
/**
|
|
9
|
-
* Basic resources, such as food.
|
|
9
|
+
* Basic resources, such as [food].
|
|
10
|
+
*
|
|
11
|
+
* [food]: crate::resources::Food
|
|
10
12
|
*/
|
|
11
13
|
export type Resources = {
|
|
12
14
|
food: Food;
|
package/dist/WorldStats.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
//! Copyright (C) Call of Nil contributors
|
|
2
2
|
//! SPDX-License-Identifier: AGPL-3.0-only
|
|
3
3
|
|
|
4
|
+
import { InfluenceResourceCost } from './InfluenceResourceCost';
|
|
4
5
|
import { InfrastructureStats } from './InfrastructureStats';
|
|
6
|
+
import { MarketPriceTable } from './MarketPriceTable';
|
|
5
7
|
export type WorldStats = {
|
|
6
8
|
infrastructure: InfrastructureStats;
|
|
9
|
+
marketPriceTable: MarketPriceTable;
|
|
10
|
+
influenceResourceCost: InfluenceResourceCost;
|
|
7
11
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export type { CancelManeuverRequest } from './CancelManeuverRequest';
|
|
|
49
49
|
export type { CancelPrefectureBuildOrderRequest } from './CancelPrefectureBuildOrderRequest';
|
|
50
50
|
export type { CancelStableRecruitOrderRequest } from './CancelStableRecruitOrderRequest';
|
|
51
51
|
export type { CancelWorkshopRecruitOrderRequest } from './CancelWorkshopRecruitOrderRequest';
|
|
52
|
+
export type { Capital } from './Capital';
|
|
52
53
|
export type { ChatHistory } from './ChatHistory';
|
|
53
54
|
export type { ChatMessage } from './ChatMessage';
|
|
54
55
|
export type { ChatMessageAuthor } from './ChatMessageAuthor';
|
|
@@ -82,6 +83,8 @@ export type { CheatGetIdleArmiesAtRequest } from './CheatGetIdleArmiesAtRequest'
|
|
|
82
83
|
export type { CheatGetIdleArmiesAtResponse } from './CheatGetIdleArmiesAtResponse';
|
|
83
84
|
export type { CheatGetIdlePersonnelAtRequest } from './CheatGetIdlePersonnelAtRequest';
|
|
84
85
|
export type { CheatGetIdlePersonnelAtResponse } from './CheatGetIdlePersonnelAtResponse';
|
|
86
|
+
export type { CheatGetInfluenceRequest } from './CheatGetInfluenceRequest';
|
|
87
|
+
export type { CheatGetInfluenceResponse } from './CheatGetInfluenceResponse';
|
|
85
88
|
export type { CheatGetInfrastructureRequest } from './CheatGetInfrastructureRequest';
|
|
86
89
|
export type { CheatGetInfrastructureResponse } from './CheatGetInfrastructureResponse';
|
|
87
90
|
export type { CheatGetManeuversOfRequest } from './CheatGetManeuversOfRequest';
|
|
@@ -109,6 +112,7 @@ export type { CheatGetStorageCapacityResponse } from './CheatGetStorageCapacityR
|
|
|
109
112
|
export type { CheatSetBotEthicsRequest } from './CheatSetBotEthicsRequest';
|
|
110
113
|
export type { CheatSetBuildingLevelRequest } from './CheatSetBuildingLevelRequest';
|
|
111
114
|
export type { CheatSetFoodRequest } from './CheatSetFoodRequest';
|
|
115
|
+
export type { CheatSetInfluenceRequest } from './CheatSetInfluenceRequest';
|
|
112
116
|
export type { CheatSetIronRequest } from './CheatSetIronRequest';
|
|
113
117
|
export type { CheatSetMarketFeeRequest } from './CheatSetMarketFeeRequest';
|
|
114
118
|
export type { CheatSetMarketVaultResourcesRequest } from './CheatSetMarketVaultResourcesRequest';
|
|
@@ -171,6 +175,8 @@ export type { GetChatHistoryRequest } from './GetChatHistoryRequest';
|
|
|
171
175
|
export type { GetChatHistoryResponse } from './GetChatHistoryResponse';
|
|
172
176
|
export type { GetCitiesRequest } from './GetCitiesRequest';
|
|
173
177
|
export type { GetCitiesResponse } from './GetCitiesResponse';
|
|
178
|
+
export type { GetCityLimitRequest } from './GetCityLimitRequest';
|
|
179
|
+
export type { GetCityLimitResponse } from './GetCityLimitResponse';
|
|
174
180
|
export type { GetCityRequest } from './GetCityRequest';
|
|
175
181
|
export type { GetCityResponse } from './GetCityResponse';
|
|
176
182
|
export type { GetCityScoreRequest } from './GetCityScoreRequest';
|
|
@@ -260,6 +266,7 @@ export type { GetWorldStatsRequest } from './GetWorldStatsRequest';
|
|
|
260
266
|
export type { GetWorldStatsResponse } from './GetWorldStatsResponse';
|
|
261
267
|
export type { Gold } from './Gold';
|
|
262
268
|
export type { Influence } from './Influence';
|
|
269
|
+
export type { InfluenceResourceCost } from './InfluenceResourceCost';
|
|
263
270
|
export type { Infrastructure } from './Infrastructure';
|
|
264
271
|
export type { InfrastructureRequirements } from './InfrastructureRequirements';
|
|
265
272
|
export type { InfrastructureStats } from './InfrastructureStats';
|
|
@@ -280,6 +287,7 @@ export type { ManeuverRequest } from './ManeuverRequest';
|
|
|
280
287
|
export type { ManeuverState } from './ManeuverState';
|
|
281
288
|
export type { Market } from './Market';
|
|
282
289
|
export type { MarketFee } from './MarketFee';
|
|
290
|
+
export type { MarketOperation } from './MarketOperation';
|
|
283
291
|
export type { MarketPriceTable } from './MarketPriceTable';
|
|
284
292
|
export type { MarketVault } from './MarketVault';
|
|
285
293
|
export type { Military } from './Military';
|
|
@@ -307,6 +315,7 @@ export type { PrefectureBuildOrderRequest } from './PrefectureBuildOrderRequest'
|
|
|
307
315
|
export type { PrefectureBuildOrderState } from './PrefectureBuildOrderState';
|
|
308
316
|
export type { PrefectureBuildQueue } from './PrefectureBuildQueue';
|
|
309
317
|
export type { PublicBot } from './PublicBot';
|
|
318
|
+
export type { PublicCapital } from './PublicCapital';
|
|
310
319
|
export type { PublicCity } from './PublicCity';
|
|
311
320
|
export type { PublicField } from './PublicField';
|
|
312
321
|
export type { PublicPlayer } from './PublicPlayer';
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsukilabs/nil-bindings",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.22",
|
|
4
4
|
"description": "TypeScript bindings for Call of Nil",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"packageManager": "pnpm@11.
|
|
6
|
+
"packageManager": "pnpm@11.22.0",
|
|
7
7
|
"license": "AGPL-3.0-only",
|
|
8
8
|
"private": false,
|
|
9
9
|
"homepage": "https://nil.dev.br",
|