@chronodivide/game-api 0.48.0 → 0.50.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 +8 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -467,7 +467,7 @@ export declare class GeneralRules {
|
|
|
467
467
|
wallBuildSpeedCoefficient: number;
|
|
468
468
|
readIni(ini: IniSection): void;
|
|
469
469
|
private readPrereqCategories;
|
|
470
|
-
getMissileRules(type: string):
|
|
470
|
+
getMissileRules(type: string): DMislRules | V3RocketRules;
|
|
471
471
|
}
|
|
472
472
|
|
|
473
473
|
export declare class HoverRules {
|
|
@@ -655,7 +655,7 @@ export declare class MapApi {
|
|
|
655
655
|
*/
|
|
656
656
|
findPath(speedType: SpeedType, from: PathNode, to: PathNode, options?: PathFinderOptions): PathNode[];
|
|
657
657
|
/** If the tile is not covered by shroud for the specified player */
|
|
658
|
-
isVisibleTile(tile: Tile, playerName: string): boolean;
|
|
658
|
+
isVisibleTile(tile: Tile, playerName: string, tileElevation?: number): boolean;
|
|
659
659
|
getTileResourceData(tile: Tile): TileResourceData | undefined;
|
|
660
660
|
getAllTilesResourceData(): TileResourceData[];
|
|
661
661
|
}
|