@scm-js/plugin-api 1.28.0 → 1.29.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/index.d.ts +5 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -477,10 +477,10 @@ declare const ScoreType: {
|
|
|
477
477
|
readonly Custom: 7;
|
|
478
478
|
};
|
|
479
479
|
declare const UnitClass: {
|
|
480
|
-
readonly Any:
|
|
481
|
-
readonly Men:
|
|
482
|
-
readonly Buildings:
|
|
483
|
-
readonly Factories:
|
|
480
|
+
readonly Any: 229;
|
|
481
|
+
readonly Men: 230;
|
|
482
|
+
readonly Buildings: 231;
|
|
483
|
+
readonly Factories: 232;
|
|
484
484
|
};
|
|
485
485
|
declare const ConditionFlag: {
|
|
486
486
|
/** Game bookkeeping. */
|
|
@@ -3811,7 +3811,7 @@ export interface NamedValue {
|
|
|
3811
3811
|
* the editor's own tables — the same names StarEdit shows.
|
|
3812
3812
|
*/
|
|
3813
3813
|
export interface NamesApi {
|
|
3814
|
-
/** StarEdit's name for a units.dat id; `Any unit` / `Men` / `Buildings` / `Factories` for the trigger classes 228
|
|
3814
|
+
/** StarEdit's name for a units.dat id; `Any unit` / `Men` / `Buildings` / `Factories` for the trigger classes 229–232 (228 is the game's `None`). */
|
|
3815
3815
|
unit(id: number): string;
|
|
3816
3816
|
units(): NamedValue[];
|
|
3817
3817
|
upgrade(id: number): string;
|