@chronodivide/game-api 0.42.0 → 0.44.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 CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ # 0.44.0
4
+
5
+ - Add `UnitData.hasWrenchRepair`
6
+ - Add `actionsApi.sayAll`
7
+ - Pause after printing link to join game in online mode
8
+
9
+ # 0.43.0
10
+
11
+ - Update game engine version to 0.50
12
+
3
13
  # 0.42.0
4
14
 
5
15
  - Update game engine version to 0.49
package/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@ export declare class ActionsApi {
21
21
  orderUnits(unitIds: number[], orderType: OrderType): void;
22
22
  orderUnits(unitIds: number[], orderType: OrderType, targetUnit: number): void;
23
23
  orderUnits(unitIds: number[], orderType: OrderType, rx: number, ry: number, onBridge?: boolean): void;
24
+ sayAll(text: string): void;
24
25
  quitGame(): void;
25
26
  }
26
27
 
@@ -1627,6 +1628,7 @@ export declare interface UnitData extends GameObjectData {
1627
1628
  factory?: FactoryData;
1628
1629
  rallyPoint?: Tile;
1629
1630
  isPoweredOn?: boolean;
1631
+ hasWrenchRepair?: boolean;
1630
1632
  garrisonUnitCount?: number;
1631
1633
  garrisonUnitsMax?: number;
1632
1634
  /** Facing angle of the turret in degrees, if applicable (counter-clockwise, relative to world N / screen NE) */