@tsukilabs/nil-bindings 0.6.6 → 0.6.7
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/index.js +1 -1
- package/dist/src/CheatSpawnCityRequest.d.ts +11 -0
- package/dist/src/GetCitiesRequest.d.ts +10 -0
- package/dist/src/GetCitiesResponse.d.ts +5 -0
- package/dist/src/GetCityRequest.d.ts +1 -0
- package/dist/src/GetCityResponse.d.ts +5 -1
- package/dist/src/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//! Copyright (C) Call of Nil contributors
|
|
2
|
+
//! SPDX-License-Identifier: AGPL-3.0-only
|
|
3
|
+
|
|
4
|
+
import { Coord } from './Coord';
|
|
5
|
+
import { Ruler } from './Ruler';
|
|
6
|
+
import { WorldId } from './WorldId';
|
|
7
|
+
export type CheatSpawnCityRequest = {
|
|
8
|
+
world: WorldId;
|
|
9
|
+
ruler: Ruler | null;
|
|
10
|
+
coord: Coord;
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//! Copyright (C) Call of Nil contributors
|
|
2
|
+
//! SPDX-License-Identifier: AGPL-3.0-only
|
|
3
|
+
|
|
4
|
+
import { Coord } from './Coord';
|
|
5
|
+
import { WorldId } from './WorldId';
|
|
6
|
+
export type GetCitiesRequest = {
|
|
7
|
+
world: WorldId;
|
|
8
|
+
coords: Array<Coord>;
|
|
9
|
+
score: boolean;
|
|
10
|
+
};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -112,6 +112,7 @@ export type { CheatSetWoodRequest } from './CheatSetWoodRequest';
|
|
|
112
112
|
export type { CheatSkipRoundRequest } from './CheatSkipRoundRequest';
|
|
113
113
|
export type { CheatSpawnBotRequest } from './CheatSpawnBotRequest';
|
|
114
114
|
export type { CheatSpawnBotResponse } from './CheatSpawnBotResponse';
|
|
115
|
+
export type { CheatSpawnCityRequest } from './CheatSpawnCityRequest';
|
|
115
116
|
export type { CheatSpawnPersonnelRequest } from './CheatSpawnPersonnelRequest';
|
|
116
117
|
export type { City } from './City';
|
|
117
118
|
export type { CityName } from './CityName';
|
|
@@ -144,6 +145,8 @@ export type { GetBotCoordsRequest } from './GetBotCoordsRequest';
|
|
|
144
145
|
export type { GetBotCoordsResponse } from './GetBotCoordsResponse';
|
|
145
146
|
export type { GetChatHistoryRequest } from './GetChatHistoryRequest';
|
|
146
147
|
export type { GetChatHistoryResponse } from './GetChatHistoryResponse';
|
|
148
|
+
export type { GetCitiesRequest } from './GetCitiesRequest';
|
|
149
|
+
export type { GetCitiesResponse } from './GetCitiesResponse';
|
|
147
150
|
export type { GetCityRequest } from './GetCityRequest';
|
|
148
151
|
export type { GetCityResponse } from './GetCityResponse';
|
|
149
152
|
export type { GetCityScoreRequest } from './GetCityScoreRequest';
|