@tsukilabs/nil-bindings 0.7.10 → 0.7.12
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/CheatSetMarketFeeRequest.d.ts +9 -0
- package/dist/Event.d.ts +3 -0
- package/dist/GetMarketFeeRequest.d.ts +7 -0
- package/dist/GetMarketFeeResponse.d.ts +5 -0
- package/dist/GetMarketRequest.d.ts +7 -0
- package/dist/GetMarketResponse.d.ts +5 -0
- package/dist/GetWorldRulersRequest.d.ts +7 -0
- package/dist/GetWorldRulersResponse.d.ts +5 -0
- package/dist/Gold.d.ts +4 -0
- package/dist/Market.d.ts +9 -0
- package/dist/MarketFee.d.ts +4 -0
- package/dist/MarketVault.d.ts +7 -0
- package/dist/Player.d.ts +2 -0
- package/dist/Resources.d.ts +3 -0
- package/dist/SendResourcesRequest.d.ts +11 -0
- package/dist/WorldOptions.d.ts +2 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/Event.d.ts
CHANGED
package/dist/Gold.d.ts
ADDED
package/dist/Market.d.ts
ADDED
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 { Gold } from './Gold';
|
|
4
5
|
import { Influence } from './Influence';
|
|
5
6
|
import { PlayerId } from './PlayerId';
|
|
6
7
|
import { PlayerStatus } from './PlayerStatus';
|
|
@@ -9,5 +10,6 @@ export type Player = {
|
|
|
9
10
|
id: PlayerId;
|
|
10
11
|
status: PlayerStatus;
|
|
11
12
|
resources: Resources;
|
|
13
|
+
gold: Gold;
|
|
12
14
|
influence: Influence;
|
|
13
15
|
};
|
package/dist/Resources.d.ts
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//! Copyright (C) Call of Nil contributors
|
|
2
|
+
//! SPDX-License-Identifier: AGPL-3.0-only
|
|
3
|
+
|
|
4
|
+
import { Resources } from './Resources';
|
|
5
|
+
import { Ruler } from './Ruler';
|
|
6
|
+
import { WorldId } from './WorldId';
|
|
7
|
+
export type SendResourcesRequest = {
|
|
8
|
+
world: WorldId;
|
|
9
|
+
recipient: Ruler;
|
|
10
|
+
resources: Resources;
|
|
11
|
+
};
|
package/dist/WorldOptions.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { BotAdvancedStartRatio } from './BotAdvancedStartRatio';
|
|
|
5
5
|
import { BotDensity } from './BotDensity';
|
|
6
6
|
import { ContinentSize } from './ContinentSize';
|
|
7
7
|
import { Locale } from './Locale';
|
|
8
|
+
import { MarketFee } from './MarketFee';
|
|
8
9
|
import { WorldName } from './WorldName';
|
|
9
10
|
import { WorldSpeed } from './WorldSpeed';
|
|
10
11
|
import { WorldUnitSpeed } from './WorldUnitSpeed';
|
|
@@ -17,4 +18,5 @@ export type WorldOptions = {
|
|
|
17
18
|
unitSpeed?: WorldUnitSpeed | null;
|
|
18
19
|
botDensity?: BotDensity | null;
|
|
19
20
|
botAdvancedStartRatio?: BotAdvancedStartRatio | null;
|
|
21
|
+
marketFee?: MarketFee | null;
|
|
20
22
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ export type { CheatSetBotEthicsRequest } from './CheatSetBotEthicsRequest';
|
|
|
103
103
|
export type { CheatSetBuildingLevelRequest } from './CheatSetBuildingLevelRequest';
|
|
104
104
|
export type { CheatSetFoodRequest } from './CheatSetFoodRequest';
|
|
105
105
|
export type { CheatSetIronRequest } from './CheatSetIronRequest';
|
|
106
|
+
export type { CheatSetMarketFeeRequest } from './CheatSetMarketFeeRequest';
|
|
106
107
|
export type { CheatSetMaxFoodRequest } from './CheatSetMaxFoodRequest';
|
|
107
108
|
export type { CheatSetMaxInfrastructureRequest } from './CheatSetMaxInfrastructureRequest';
|
|
108
109
|
export type { CheatSetMaxIronRequest } from './CheatSetMaxIronRequest';
|
|
@@ -172,6 +173,10 @@ export type { GetIdleArmiesCoordsRequest } from './GetIdleArmiesCoordsRequest';
|
|
|
172
173
|
export type { GetIdleArmiesCoordsResponse } from './GetIdleArmiesCoordsResponse';
|
|
173
174
|
export type { GetManeuverRequest } from './GetManeuverRequest';
|
|
174
175
|
export type { GetManeuverResponse } from './GetManeuverResponse';
|
|
176
|
+
export type { GetMarketFeeRequest } from './GetMarketFeeRequest';
|
|
177
|
+
export type { GetMarketFeeResponse } from './GetMarketFeeResponse';
|
|
178
|
+
export type { GetMarketRequest } from './GetMarketRequest';
|
|
179
|
+
export type { GetMarketResponse } from './GetMarketResponse';
|
|
175
180
|
export type { GetPlayerCoordsRequest } from './GetPlayerCoordsRequest';
|
|
176
181
|
export type { GetPlayerCoordsResponse } from './GetPlayerCoordsResponse';
|
|
177
182
|
export type { GetPlayerIdsRequest } from './GetPlayerIdsRequest';
|
|
@@ -238,8 +243,11 @@ export type { GetWorldPlayersRequest } from './GetWorldPlayersRequest';
|
|
|
238
243
|
export type { GetWorldPlayersResponse } from './GetWorldPlayersResponse';
|
|
239
244
|
export type { GetWorldPrecursorsRequest } from './GetWorldPrecursorsRequest';
|
|
240
245
|
export type { GetWorldPrecursorsResponse } from './GetWorldPrecursorsResponse';
|
|
246
|
+
export type { GetWorldRulersRequest } from './GetWorldRulersRequest';
|
|
247
|
+
export type { GetWorldRulersResponse } from './GetWorldRulersResponse';
|
|
241
248
|
export type { GetWorldStatsRequest } from './GetWorldStatsRequest';
|
|
242
249
|
export type { GetWorldStatsResponse } from './GetWorldStatsResponse';
|
|
250
|
+
export type { Gold } from './Gold';
|
|
243
251
|
export type { Influence } from './Influence';
|
|
244
252
|
export type { Infrastructure } from './Infrastructure';
|
|
245
253
|
export type { InfrastructureRequirements } from './InfrastructureRequirements';
|
|
@@ -259,6 +267,9 @@ export type { ManeuverId } from './ManeuverId';
|
|
|
259
267
|
export type { ManeuverKind } from './ManeuverKind';
|
|
260
268
|
export type { ManeuverRequest } from './ManeuverRequest';
|
|
261
269
|
export type { ManeuverState } from './ManeuverState';
|
|
270
|
+
export type { Market } from './Market';
|
|
271
|
+
export type { MarketFee } from './MarketFee';
|
|
272
|
+
export type { MarketVault } from './MarketVault';
|
|
262
273
|
export type { Military } from './Military';
|
|
263
274
|
export type { MineId } from './MineId';
|
|
264
275
|
export type { MineProduction } from './MineProduction';
|
|
@@ -313,6 +324,7 @@ export type { SearchCityRequest } from './SearchCityRequest';
|
|
|
313
324
|
export type { SearchCityResponse } from './SearchCityResponse';
|
|
314
325
|
export type { SearchPublicCityRequest } from './SearchPublicCityRequest';
|
|
315
326
|
export type { SearchPublicCityResponse } from './SearchPublicCityResponse';
|
|
327
|
+
export type { SendResourcesRequest } from './SendResourcesRequest';
|
|
316
328
|
export type { ServerAddr } from './ServerAddr';
|
|
317
329
|
export type { ServerKind } from './ServerKind';
|
|
318
330
|
export type { SetPlayerReadyRequest } from './SetPlayerReadyRequest';
|
package/dist/index.js
CHANGED