@tsukilabs/nil-bindings 0.7.13 → 0.7.14
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/BuyResourcesRequest.d.ts +9 -0
- package/dist/CheatSetMarketVaultResourcesRequest.d.ts +9 -0
- package/dist/Event.d.ts +10 -0
- package/dist/EventId.d.ts +4 -0
- package/dist/Gold.d.ts +3 -0
- package/dist/Market.d.ts +2 -0
- package/dist/MarketPrice.d.ts +10 -0
- package/dist/SellResourcesRequest.d.ts +9 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//! Copyright (C) Call of Nil contributors
|
|
2
|
+
//! SPDX-License-Identifier: AGPL-3.0-only
|
|
3
|
+
|
|
4
|
+
import { Resources } from './Resources';
|
|
5
|
+
import { WorldId } from './WorldId';
|
|
6
|
+
export type CheatSetMarketVaultResourcesRequest = {
|
|
7
|
+
world: WorldId;
|
|
8
|
+
resources: Resources;
|
|
9
|
+
};
|
package/dist/Event.d.ts
CHANGED
|
@@ -3,42 +3,52 @@
|
|
|
3
3
|
|
|
4
4
|
import { ChatMessage } from './ChatMessage';
|
|
5
5
|
import { Coord } from './Coord';
|
|
6
|
+
import { EventId } from './EventId';
|
|
6
7
|
import { PlayerId } from './PlayerId';
|
|
7
8
|
import { ReportKind } from './ReportKind';
|
|
8
9
|
import { Round } from './Round';
|
|
9
10
|
import { WorldId } from './WorldId';
|
|
10
11
|
export type Event = {
|
|
11
12
|
"kind": "chat-message";
|
|
13
|
+
id: EventId;
|
|
12
14
|
world: WorldId;
|
|
13
15
|
message: ChatMessage;
|
|
14
16
|
} | {
|
|
15
17
|
"kind": "city";
|
|
18
|
+
id: EventId;
|
|
16
19
|
world: WorldId;
|
|
17
20
|
coord: Coord;
|
|
18
21
|
} | {
|
|
19
22
|
"kind": "drop";
|
|
23
|
+
id: EventId;
|
|
20
24
|
world: WorldId;
|
|
21
25
|
} | {
|
|
22
26
|
"kind": "market";
|
|
27
|
+
id: EventId;
|
|
23
28
|
world: WorldId;
|
|
24
29
|
} | {
|
|
25
30
|
"kind": "military";
|
|
31
|
+
id: EventId;
|
|
26
32
|
world: WorldId;
|
|
27
33
|
player: PlayerId;
|
|
28
34
|
} | {
|
|
29
35
|
"kind": "player";
|
|
36
|
+
id: EventId;
|
|
30
37
|
world: WorldId;
|
|
31
38
|
player: PlayerId;
|
|
32
39
|
} | {
|
|
33
40
|
"kind": "public-city";
|
|
41
|
+
id: EventId;
|
|
34
42
|
world: WorldId;
|
|
35
43
|
coord: Coord;
|
|
36
44
|
} | {
|
|
37
45
|
"kind": "report";
|
|
46
|
+
id: EventId;
|
|
38
47
|
world: WorldId;
|
|
39
48
|
report: ReportKind;
|
|
40
49
|
} | {
|
|
41
50
|
"kind": "round";
|
|
51
|
+
id: EventId;
|
|
42
52
|
world: WorldId;
|
|
43
53
|
round: Round;
|
|
44
54
|
};
|
package/dist/Gold.d.ts
CHANGED
package/dist/Market.d.ts
CHANGED
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
//! SPDX-License-Identifier: AGPL-3.0-only
|
|
3
3
|
|
|
4
4
|
import { MarketFee } from './MarketFee';
|
|
5
|
+
import { MarketPrice } from './MarketPrice';
|
|
5
6
|
import { MarketVault } from './MarketVault';
|
|
6
7
|
export type Market = {
|
|
7
8
|
vault: MarketVault;
|
|
8
9
|
fee: MarketFee;
|
|
10
|
+
price: MarketPrice;
|
|
9
11
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export type { BuildingLevelDiff } from './BuildingLevelDiff';
|
|
|
43
43
|
export type { BuildingStats } from './BuildingStats';
|
|
44
44
|
export type { BuildingStatsTable } from './BuildingStatsTable';
|
|
45
45
|
export type { BuildStep } from './BuildStep';
|
|
46
|
+
export type { BuyResourcesRequest } from './BuyResourcesRequest';
|
|
46
47
|
export type { CancelAcademyRecruitOrderRequest } from './CancelAcademyRecruitOrderRequest';
|
|
47
48
|
export type { CancelManeuverRequest } from './CancelManeuverRequest';
|
|
48
49
|
export type { CancelPrefectureBuildOrderRequest } from './CancelPrefectureBuildOrderRequest';
|
|
@@ -104,6 +105,7 @@ export type { CheatSetBuildingLevelRequest } from './CheatSetBuildingLevelReques
|
|
|
104
105
|
export type { CheatSetFoodRequest } from './CheatSetFoodRequest';
|
|
105
106
|
export type { CheatSetIronRequest } from './CheatSetIronRequest';
|
|
106
107
|
export type { CheatSetMarketFeeRequest } from './CheatSetMarketFeeRequest';
|
|
108
|
+
export type { CheatSetMarketVaultResourcesRequest } from './CheatSetMarketVaultResourcesRequest';
|
|
107
109
|
export type { CheatSetMaxFoodRequest } from './CheatSetMaxFoodRequest';
|
|
108
110
|
export type { CheatSetMaxInfrastructureRequest } from './CheatSetMaxInfrastructureRequest';
|
|
109
111
|
export type { CheatSetMaxIronRequest } from './CheatSetMaxIronRequest';
|
|
@@ -138,6 +140,7 @@ export type { EthicPowerAxis } from './EthicPowerAxis';
|
|
|
138
140
|
export type { Ethics } from './Ethics';
|
|
139
141
|
export type { EthicTruthAxis } from './EthicTruthAxis';
|
|
140
142
|
export type { Event } from './Event';
|
|
143
|
+
export type { EventId } from './EventId';
|
|
141
144
|
export type { Farm } from './Farm';
|
|
142
145
|
export type { ffi_QueueEntry } from './ffi_QueueEntry';
|
|
143
146
|
export type { ffi_QueueEntryKind } from './ffi_QueueEntryKind';
|
|
@@ -269,6 +272,7 @@ export type { ManeuverRequest } from './ManeuverRequest';
|
|
|
269
272
|
export type { ManeuverState } from './ManeuverState';
|
|
270
273
|
export type { Market } from './Market';
|
|
271
274
|
export type { MarketFee } from './MarketFee';
|
|
275
|
+
export type { MarketPrice } from './MarketPrice';
|
|
272
276
|
export type { MarketVault } from './MarketVault';
|
|
273
277
|
export type { Military } from './Military';
|
|
274
278
|
export type { MineId } from './MineId';
|
|
@@ -324,6 +328,7 @@ export type { SearchCityRequest } from './SearchCityRequest';
|
|
|
324
328
|
export type { SearchCityResponse } from './SearchCityResponse';
|
|
325
329
|
export type { SearchPublicCityRequest } from './SearchPublicCityRequest';
|
|
326
330
|
export type { SearchPublicCityResponse } from './SearchPublicCityResponse';
|
|
331
|
+
export type { SellResourcesRequest } from './SellResourcesRequest';
|
|
327
332
|
export type { SendResourcesRequest } from './SendResourcesRequest';
|
|
328
333
|
export type { ServerAddr } from './ServerAddr';
|
|
329
334
|
export type { ServerKind } from './ServerKind';
|
package/dist/index.js
CHANGED