@scm-js/plugin-api 1.58.0 → 1.60.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 +6 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -52,9 +52,9 @@ export type CombineMode =
|
|
|
52
52
|
*
|
|
53
53
|
* StarEdit wrote the string table in whatever code page Windows was running — EUC-KR
|
|
54
54
|
* (CP949) on a Korean machine, Shift_JIS on a Japanese one, Windows-1252 nearly everywhere
|
|
55
|
-
* else — and 1.16.1 still reads it that way. Remastered writes UTF-8 and, reading,
|
|
56
|
-
* UTF-8
|
|
57
|
-
*
|
|
55
|
+
* else — and 1.16.1 still reads it that way. Remastered writes UTF-8 and, reading, decides
|
|
56
|
+
* per string: UTF-8 when the bytes are valid UTF-8, else Korean when they pass its CP949
|
|
57
|
+
* test, else Windows-1252 (`remasteredReadsAsKorean`). The file itself carries no note of which was used, so a table is *guessed*
|
|
58
58
|
* on open (`detectTextEncoding`) and the guess is a setting the user can correct
|
|
59
59
|
* (Scenario ▸ Map Revision).
|
|
60
60
|
*
|
|
@@ -3720,8 +3720,9 @@ export interface TriggersApi {
|
|
|
3720
3720
|
}): TriggerRefs[];
|
|
3721
3721
|
/**
|
|
3722
3722
|
* The 0-based player slots a player group names on the open map: a slot itself, the
|
|
3723
|
-
* members of a force, players 1–
|
|
3724
|
-
*
|
|
3723
|
+
* members of a force, players 1–12 for *All Players* (as conditions and the unit actions
|
|
3724
|
+
* take it; as a trigger's owner it is players 1–8), and for *Current Player* the slots of
|
|
3725
|
+
* `owners` (the groups a trigger is ticked for). `approximate` when the group is only
|
|
3725
3726
|
* settled while the game runs (*Foes*, *Allies*, *Neutral Players*, *Non Allied Victory
|
|
3726
3727
|
* Players*); `players` is then every slot it could name.
|
|
3727
3728
|
*/
|