@chronodivide/game-api 0.63.0 → 0.64.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/CHANGELOG.md +5 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare class ActionsApi {
|
|
2
2
|
#private;
|
|
3
3
|
placeBuilding(buildingName: string, rx: number, ry: number): void;
|
|
4
|
+
sellObject(objectId: number): void;
|
|
5
|
+
/** @deprecated use {@link ActionsApi.sellObject} instead */
|
|
4
6
|
sellBuilding(buildingId: number): void;
|
|
5
7
|
toggleRepairWrench(buildingId: number): void;
|
|
6
8
|
toggleAlliance(toPlayer: string, enabled: boolean): void;
|
|
@@ -148,6 +150,7 @@ export declare class CombatDamageRules {
|
|
|
148
150
|
ballisticScatter: number;
|
|
149
151
|
bridgeStrength: number;
|
|
150
152
|
c4Delay: number;
|
|
153
|
+
/** This warhead is used throughout the code to mean "Absolute damage" */
|
|
151
154
|
c4Warhead: string;
|
|
152
155
|
deathWeapon: string;
|
|
153
156
|
dMislEliteWarhead: string;
|
|
@@ -1346,6 +1349,7 @@ export declare class TechnoRules extends ObjectRules {
|
|
|
1346
1349
|
hospital: boolean;
|
|
1347
1350
|
unitRepair: boolean;
|
|
1348
1351
|
unitReload: boolean;
|
|
1352
|
+
unitSell: boolean;
|
|
1349
1353
|
isBaseDefense: boolean;
|
|
1350
1354
|
superWeapon: string | undefined;
|
|
1351
1355
|
chargedAnimTime: number;
|
|
@@ -1354,11 +1358,13 @@ export declare class TechnoRules extends ObjectRules {
|
|
|
1354
1358
|
waterBound: boolean;
|
|
1355
1359
|
orePurifier: boolean;
|
|
1356
1360
|
cloning: boolean;
|
|
1361
|
+
grinding: boolean;
|
|
1357
1362
|
nukeSilo: boolean;
|
|
1358
1363
|
/** Only for buildings */
|
|
1359
1364
|
repairable: boolean;
|
|
1360
1365
|
/** Only for buildings */
|
|
1361
1366
|
clickRepairable: boolean;
|
|
1367
|
+
/** Only for buildings */
|
|
1362
1368
|
unsellable: boolean;
|
|
1363
1369
|
gdiBarracks: boolean;
|
|
1364
1370
|
nodBarracks: boolean;
|
|
@@ -1371,6 +1377,7 @@ export declare class TechnoRules extends ObjectRules {
|
|
|
1371
1377
|
leaveRubble: boolean;
|
|
1372
1378
|
undeploysInto: string;
|
|
1373
1379
|
deploysInto: string;
|
|
1380
|
+
deployTime: number;
|
|
1374
1381
|
capturable: boolean;
|
|
1375
1382
|
spyable: boolean;
|
|
1376
1383
|
needsEngineer: boolean;
|
|
@@ -1873,6 +1880,7 @@ export declare enum VhpScan {
|
|
|
1873
1880
|
|
|
1874
1881
|
export declare class WarheadRules {
|
|
1875
1882
|
private rules;
|
|
1883
|
+
affectsAllies: boolean;
|
|
1876
1884
|
animList: string[];
|
|
1877
1885
|
bombDisarm: boolean;
|
|
1878
1886
|
bullets: boolean;
|