@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 +4 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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 =
|
|
502
|
+
Water = 7,
|
|
501
503
|
/** Non-firestorm/non-laserfence walls. */
|
|
502
|
-
Wall =
|
|
504
|
+
Wall = 8,
|
|
503
505
|
/** Ore/Gem/Tiberium overlays. */
|
|
504
|
-
Tiberium =
|
|
506
|
+
Tiberium = 9,
|
|
505
507
|
/** Cliffs (before Red Alert 2 Rock was used for cliffs). */
|
|
506
|
-
Cliff =
|
|
508
|
+
Cliff = 10
|
|
507
509
|
}
|
|
508
510
|
|
|
509
511
|
export declare class LightningStormRules {
|