@chronodivide/game-api 0.39.0 → 0.40.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,9 @@
1
1
  # Changelog
2
2
 
3
+ # 0.40.0
4
+
5
+ - Update game engine version to 0.47
6
+
3
7
  # 0.39.0
4
8
 
5
9
  - Update game engine version to 0.46
package/dist/index.d.ts CHANGED
@@ -457,6 +457,7 @@ export declare class IniSection {
457
457
  getNumberArray(key: string, sep?: RegExp, defaultValue?: number[]): number[];
458
458
  getFixedArray(key: string, sep?: RegExp, defaultValue?: number[]): number[];
459
459
  getEnum<T>(key: string, enumType: any, defaultValue: T, caseInsensitive?: boolean): T;
460
+ getEnumNumeric<T>(key: string, enumType: any, defaultValue: T): T;
460
461
  getEnumArray<T>(key: string, enumType: any, sep?: RegExp, defaultValue?: T[], caseInsensitive?: boolean): T[];
461
462
  getHighestNumericIndex(): number;
462
463
  getConcatenatedValues(): string;
@@ -496,14 +497,15 @@ export declare enum LandType {
496
497
  Railroad = 5,
497
498
  /** Tunnel entrance/exit (works in Tiberian Sun, in Red Alert 2 requires Terrain Expansion (aka TX)). */
498
499
  /** Tiberium Veins (Works in TS, in RA2 it is not assigned to anything and can be used for new movement rules). */
500
+ Weeds = 6,
499
501
  /** Water as in lakes or ocean areas. */
500
- Water = 6,
502
+ Water = 7,
501
503
  /** Non-firestorm/non-laserfence walls. */
502
- Wall = 7,
504
+ Wall = 8,
503
505
  /** Ore/Gem/Tiberium overlays. */
504
- Tiberium = 8,
506
+ Tiberium = 9,
505
507
  /** Cliffs (before Red Alert 2 Rock was used for cliffs). */
506
- Cliff = 9
508
+ Cliff = 10
507
509
  }
508
510
 
509
511
  export declare class LightningStormRules {