gs2-studio-dsl 2026.11.20 → 2026.11.22

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.
Files changed (5) hide show
  1. package/LLM.md +53 -41
  2. package/README.md +2 -2
  3. package/REFERENCE.md +135 -77
  4. package/index.d.ts +1430 -1422
  5. package/package.json +1 -1
package/LLM.md CHANGED
@@ -24,6 +24,7 @@ Instructions for an agent that writes or edits a GS2 Studio package DSL. Follow
24
24
  id-ledger.json ids of the package; created by dsl build --write-ledger; keep it with index.ts
25
25
  dependency-surface.json written by dsl build: what this package publishes to packages that depend on it
26
26
  surfaces/<packageId>.json written by dsl surfaces: what each package of the project publishes
27
+ surfaces/<packageId>.md written by dsl surfaces: how to use a package that has usage notes
27
28
  tsconfig.json the tsconfig from the README
28
29
  package.json devDependencies: gs2-studio-dsl, typescript
29
30
  ```
@@ -46,6 +47,8 @@ commands below with the executable's path; the first build writes the ledger. It
46
47
  the project with `dsl build`. The DSL cannot install packages.
47
48
  2. If the package depends on other packages, write their surfaces (one file per package of the project):
48
49
  `"<GS2 Studio>" dsl surfaces --dir <project> --out <dsl>/surfaces`
50
+ Before you use a dependency, read `<dsl>/surfaces/<packageId>.md` when it exists: the package's own notes on how
51
+ to use it in the DSL and in the game, and what to check.
49
52
  3. Write or edit `<dsl>/index.ts`. When the package depends on other packages, declare the dependencies first and build
50
53
  (steps 4 to 7): the build then names the types of the dependencies that need rows from this package.
51
54
  4. Type-check: `npx tsc --noEmit -p <dsl>`. Fix every error before building.
@@ -59,10 +62,11 @@ commands below with the executable's path; the first build writes the ledger. It
59
62
  7. Read what a build that saved the package prints on stderr: the `[error]` and `[warning]` lines `project check`
60
63
  reports for the project. The build exits with 0 because it saved the package, but each line says what deploy or code
61
64
  generation will do wrong or leave out. Fix each one the DSL can fix (section 6) and build again; tell the user about a
62
- line on another package that the DSL does not change. Then open the project in GS2 Studio and fix what it reports:
63
- what Unity code generation alone refuses is not printed (see
64
- [Building with dsl build](REFERENCE.md#building-with-dsl-build)). The build's last line counts the errors and
65
- warnings, such as `project check (without Unity code generation): 0 error(s), 2 warning(s)`, and is
65
+ line on another package that the DSL does not change. What Unity code generation alone refuses is not printed here
66
+ (see [Building with dsl build](REFERENCE.md#building-with-dsl-build)): run
67
+ `"<GS2 Studio>" project check --dir <project>`, which checks Unity code generation too, and fix what it reports.
68
+ The build's last line counts the errors and warnings, such as
69
+ `project check (without Unity code generation): 0 error(s), 2 warning(s)`, and is
66
70
  `project check (without Unity code generation): no errors or warnings` when there is none.
67
71
  8. Keep `id-ledger.json` and `dependency-surface.json` with `index.ts`; under version control, commit them together.
68
72
  Whether to use version control is the user's choice: do not create a repository unless the user asks.
@@ -87,34 +91,32 @@ MUST:
87
91
  of its surface is not `[]` (`mountedBy` names the dependency's resources that mount it), or when your package mounts
88
92
  its overlay of the type itself. A type gets one only when a user data resource, or a master data resource of a model
89
93
  other than a namespace, mounts it.
90
- - To use what a dependency does as it is (for example "make the wallet usable" with `foundation-economy-currency`),
91
- declare the dependency and call its transforms; add rows, resources or UI only for what the surface or a build asks
94
+ - Before you use a dependency, read `surfaces/<packageId>.md` when it exists. It is the package's own usage notes:
95
+ which rows to author, which of its items and Handlers the game uses, and what to check.
96
+ - To use what a dependency does as it is (for example a dependency whose transforms are all the game needs), declare
97
+ the dependency and call its transforms; add rows, resources or UI only for what the surface or a build asks
92
98
  for. The dependency's own UI components (`types.<Type>.uiComponents`) are generated with it, and the game places
93
- the Handler that holds the row they show, such as a `WalletHandler` set to the slot (`"0"`). See
99
+ the Handler that holds the row they show (its usage notes say which). See
94
100
  [Rows in the game](REFERENCE.md#rows-in-the-game).
95
- - With `micro-economy-quest`, use its `QuestStartButton` and `ProgressCompleteButton` (surface keys `StartButton` on
96
- `Quest` and `CompleteButton` on `Progress`) instead of writing Start and Complete buttons, and gate the quest list's
97
- Start buttons with `ProgressIdleActiveToggle` (surface key `IdleActiveToggle` on `Progress`), or with an
98
- `interactable` on `Quest` that reads the progress row `"progress"` with `UiSource.rowProp`: GS2 refuses a second
99
- Start while a quest is in progress (`alreadyExists`). A player with no quest in progress, including one who never
100
- started any, still has that row, with `inProgress` `false`, so this check passes once the `ProgressHandler` has loaded.
101
- See [Rows in the game](REFERENCE.md#rows-in-the-game).
102
- - Show the time left until a timestamp (a stamina's next recovery) with a `UiItem.countdown`, or the one a dependency
103
- lists in `types.<Type>.uiComponents` (`foundation-economy-energy`'s `NextRecoveryCountdown`), never with a hand-written
104
- timer: it counts on the session's GS2 clock, which `DateTime.UtcNow` is not. See
101
+ - Use a button a dependency ships (`kind: "buttonAction"` in `types.<Type>.uiComponents`, with the `method` it calls)
102
+ instead of writing one that calls the same action.
103
+ - Show the time left until a timestamp (a row's next scheduled change) with a `UiItem.countdown`, or the one a dependency
104
+ lists in `types.<Type>.uiComponents` (`kind: "countdown"`), never with a hand-written timer: it counts on the
105
+ session's GS2 clock, which `DateTime.UtcNow` is not. See [UI components](REFERENCE.md#ui-components).
106
+ - Place an `activeToggle` on a GameObject that stays active below the type's Handler, with what it shows or hides as
107
+ its targets, never on a GameObject it hides: once hidden it stops listening and never shows it again. See
105
108
  [UI components](REFERENCE.md#ui-components).
106
- - Place an `activeToggle` such as `ProgressIdleActiveToggle` on a GameObject that stays active below the type's
107
- Handler, with what it shows or hides as its targets, never on a GameObject it hides: once hidden it stops listening
108
- and never shows it again. See [UI components](REFERENCE.md#ui-components).
109
109
  - Before adding UI to a dependency's type, read `types.<Type>.uiComponents` of its surface. Its keys are the class
110
110
  names items are declared with; the generated Unity class is the type's generated name followed by the key (surface
111
- key `StartButton` on `Quest` → generated class `QuestStartButton`; a rename of the type changes the prefix, see
112
- [Item options](REFERENCE.md#item-options)). Reuse a listed item instead of adding one that shows the same, and give
113
- new items unlisted class names: a listed one replaces that item.
111
+ key `OpenButton` on `example-gift-shop`'s `GiftBox` → generated class `GiftBoxOpenButton`; a rename of the type
112
+ changes the prefix, see [Item options](REFERENCE.md#item-options)). Each entry also gives what the item shows: a
113
+ `templateLabel`'s `template` (per locale when it has several), the `fallbackText` shown while its value is unset, and
114
+ the author's `description`. Reuse a listed item instead of adding one that shows the same, and give new items
115
+ unlisted class names: a listed one replaces that item.
114
116
  - Give a single-entry type's row the type name in lower case as its id (`GameSettings` → `gamesettings`). The same id
115
117
  is the row its Handler holds and the row id to pass to `UiSource.rowProp`. For a dependency's type, read it from
116
- `types.<Type>.singleEntryRowId` of the surface, also when the surface lists no row (`micro-economy-quest`'s
117
- `Progress` → `"progress"`); an overlay that renames the type keeps it. See
118
+ `types.<Type>.singleEntryRowId` of the surface, also when the surface lists no row (a player's own data that nobody
119
+ authors); an overlay that renames the type keeps it. See
118
120
  [Keys and identity](REFERENCE.md#keys-and-identity).
119
121
  - Refer to anything of another package only through `dependencyPackage(surface)` built from a surface file that
120
122
  `dsl surfaces` wrote (or, for a package you build yourself, the `dependency-surface.json` beside its ledger, which
@@ -156,10 +158,8 @@ MUST:
156
158
  you leave out deploys as what `actionPropertyTransforms` add to it, or empty.
157
159
  - A property or parameter of type `ref<<packageId>:<Type>>` takes a row of that package's type. Declare that package
158
160
  as a dependency if it is not one yet (its own surface file and spec), author the row with
159
- `instance(other.type("<Type>"), id, values)`, and give the row id as the value. Example, a limited-time quest:
160
- `micro-economy-quest` keeps the period on `QuestCollection.schedule` (`ref<foundation-economy-schedule:Schedule>`),
161
- not on `Quest`, so put the quest in a quest collection of its own with an absolute `Schedule` row, and have the game
162
- list that collection too. See [A row of another package's type](REFERENCE.md#a-row-of-another-packages-type).
161
+ `instance(other.type("<Type>"), id, values)`, and give the row id as the value. See
162
+ [A row of another package's type](REFERENCE.md#a-row-of-another-packages-type).
163
163
  - Choose each property's binding hint by what reads its value, also for a property an overlay adds: the client, from
164
164
  the rows you author (a UI component shows it) → `.assetDelivery()`; only an `actionPropertyTransforms` argument → no
165
165
  hint; a field a master data resource of this package binds → `.masterData()`. See the table in
@@ -220,13 +220,16 @@ Names and ids:
220
220
  only if asked, and then keep its id as above; only a kept id carries the generated script's GUID over, so scenes and
221
221
  prefabs stay wired. See [The id ledger](REFERENCE.md#the-id-ledger).
222
222
  - A row id is letters, digits, `_`, `.` and `-`, at most 128 characters; a resource that binds `id` to a GS2 name sends
223
- it as that name (a `micro-economy-quest` `Quest` row id is the quest model name), and some GS2 fields take fewer.
223
+ it as that name (a GS2 model name), and some GS2 fields take fewer.
224
224
  - A row token contains the row id. Before you treat a "not current" + "missing" row token pair as a rename of a
225
225
  composite-key row, check the new row id against the composite key rule below; a wrong id must be fixed in the DSL,
226
226
  not moved in the ledger.
227
- - A composite-key row id is its key values joined with `.` in ascending order of the key members' property ids in the
228
- ledger, not in the order passed to `compositeKey`. Build the type with `--write-ledger` before adding its rows,
229
- read the ids, then add the rows. See [Keys and identity](REFERENCE.md#keys-and-identity).
227
+ - A composite-key row id is its key values joined with `.` in ascending order of the key members' property ids, not in
228
+ the order passed to `compositeKey`. For your own type the ids are in your ledger: build the type with
229
+ `--write-ledger` before adding its rows, read the ids, then add the rows. For a dependency's type, read the members
230
+ in that order from its surface's `types.<Type>.compositeKey`. A `ref` member's value is the id of the row it refers to; when that row is
231
+ itself composite-keyed, that is its composed id, `.` included. A wrong row id fails `dsl build`, which names each
232
+ row's id and the id to use (`"<id>" → "<id to use>"`). See [Keys and identity](REFERENCE.md#keys-and-identity).
230
233
 
231
234
  ## 5. API cheat sheet
232
235
 
@@ -243,7 +246,7 @@ Names and ids:
243
246
  | Conditional requirement | `.requiredWhen(Cond.eq("limited", true))` | [Conditions](REFERENCE.md#conditions) |
244
247
  | Identity and order | `singleEntry: true`, `compositeKey: [...]`, `sort: { key, direction? }` | [Keys and identity](REFERENCE.md#keys-and-identity) |
245
248
  | Author rows | `instance(definition, id, values)` in `instances: [...]` | [Instances](REFERENCE.md#instances) |
246
- | Rows a dependency's type needs from the project | `instance(dep.type("Energy"), id, values)` in `instances: [...]` | [Instances](REFERENCE.md#instances) |
249
+ | Rows a dependency's type needs from the project | `instance(dep.type("<Type>"), id, values)` in `instances: [...]` | [Instances](REFERENCE.md#instances) |
247
250
  | Change a row a dependency ships | `overlayInstance(type, sourceInstanceId, { overrides?, suppressed? })` in `overlayInstances: [...]` | [Instances](REFERENCE.md#instances) |
248
251
  | Extend a dependency's type | `defineOverlayDomainType(name, dep.overlay(name), { properties?, actionPropertyTransforms?, ... })` | [Overlay types](REFERENCE.md#overlay-types) |
249
252
  | List of structured elements | `defineInlineElement(name, { properties, elementKey?, ... })`, `PT.listOf(PT.inlineElement(schema))`, `inlineElementOf(Host, "listProp")` | [Inline elements](REFERENCE.md#inline-elements) |
@@ -251,16 +254,17 @@ Names and ids:
251
254
  | Map GS2 user data to properties | `defineUserDataResource({ model: GS2.svc.Model, linkedMaster?, mount?, bindings: {...}, children? })` | [User data resources](REFERENCE.md#user-data-resources) |
252
255
  | Field values | `Bind.*`, `Source.direct(T, "prop")`, `Source.parent(...)`, `transactionSettingV2()` | [Bindings](REFERENCE.md#bindings) |
253
256
  | Actions of an action entry | `ActionProgram.transform(transform, [Arg...])`; a dependency's: `dep.transformProgram(name, { count: { kind: "domainProperty", source: Source.parent(Source.direct(T, "count")) } })` | [Action programs and arguments](REFERENCE.md#action-programs-and-arguments) |
254
- | Add a dependency's transform to an inherited action property | `actionPropertyTransforms: prop => [{ targetProperty, mode: "append", ...dep.transformCall(name, { count: prop("price") }) }]` | [Overlay types](REFERENCE.md#overlay-types) |
255
- | A row of another package's type (a `ref<pkg:Type>` value, such as a quest collection's schedule) | Declare that package too, `instance(other.type("Schedule"), id, values)`, pass the row id | [A row of another package's type](REFERENCE.md#a-row-of-another-packages-type) |
257
+ | Add a dependency's transform to an inherited action property | `actionPropertyTransforms: prop => [{ targetProperty, mode: "append", ...dep.transformCall(name, { count: prop("price") }) }]`. One transform per property per overlay, whatever the mode: to add several actions, attach one transform of this package whose delegation outputs call them | [Overlay types](REFERENCE.md#overlay-types) |
258
+ | A row of another package's type (a `ref<pkg:Type>` value) | Declare that package too, `instance(other.type("<Type>"), id, values)`, pass the row id | [A row of another package's type](REFERENCE.md#a-row-of-another-packages-type) |
256
259
  | Produce GS2 actions from parameters | `defineActionTransform(name, { category, parameters, outputs })` + `OutputMap.*` | [Action transforms](REFERENCE.md#action-transforms) |
257
260
  | A method that runs a GS2 action | `delegatedActions: { Method: { targetActionKey, targetResource } }` on the type, or `definePackage({ delegatedActions: [{ target, methodName, action: { targetActionKey, targetResource } }] })` | [Delegated actions](REFERENCE.md#delegated-actions) |
258
261
  | Generated UI | `defineUiComponent(T, { items: [UiItem.label(...), UiItem.buttonAction(...)] })`, `UiSource.*`, `UiCond.*` | [UI components](REFERENCE.md#ui-components) |
259
- | Enable a button by another type's row (stamina, coins) | `UiItem.interactable("StartInteractable", UiCond.gte(UiSource.rowProp(energy.type("Energy"), "stamina", "currentValue"), UiSource.prop("cost")))` | [Another type's row](REFERENCE.md#another-types-row) |
262
+ | Enable a button by another type's row (the coins a player owns) | `UiItem.interactable("AffordableInteractable", UiCond.gte(UiSource.rowProp(inventory.type("Item"), "coin", "count"), UiSource.prop("price")))` | [Another type's row](REFERENCE.md#another-types-row) |
260
263
  | Choose a UI item and its options | `label` shows text, `templateLabel` text around values, `countdown` the time left until a timestamp, `value` sends a typed value the game formats; a button never disables itself (add `interactable`). `{ name, description }` only label the item in GS2 Studio's editor; leave them out | [UI components](REFERENCE.md#ui-components), [Item options](REFERENCE.md#item-options) |
261
264
  | Show every row in the game, in order | A UI component describes one row; the generated `<T>ListHandler` makes one instance of a prefab per row, in the order of `sort` (an overlay: the dependency's order unless it sets a `sort` other than id ascending) | [Rows in the game](REFERENCE.md#rows-in-the-game) |
262
265
  | A button on a dependency's delegated action | `UiItem.buttonAction("ReceiveButton", "Receive", args, options)` (first check `types.<T>.uiComponents`, keyed by class name without the `<T>` prefix: a package may already ship the button); `args` takes only the names under `types.<T>.delegatedActions.Receive.parameters` of the surface and needs each `required: true` one; with none required it may be `undefined` | [Dependencies](REFERENCE.md#dependencies) |
263
266
  | Code template | `codeTemplates: [{ outputFileName: "File.cs", templateSource: text }]` with a `?raw` import | [Code templates](REFERENCE.md#code-templates) |
267
+ | Tell the authors of dependent packages how to use yours | `usageNotes: text` with a `?raw` import of a `USAGE.md` | [Usage notes](REFERENCE.md#usage-notes) |
264
268
  | Use another package of the project | `dependencyPackage(surface)`, `dependencies: { [dep.packageId]: spec }`; spec `"*"` (authored in the project), or for an installed package the spec the package that installed it declares, or for one only in `project-lock.json` the spec its entry gives (`"github:gs2io/gs2-studio-package"` for an official package) | [Dependencies](REFERENCE.md#dependencies) |
265
269
 
266
270
  ## 6. Common mistakes
@@ -302,12 +306,12 @@ Names and ids:
302
306
  | `CLI_DSL_VALIDATION_FAILED` ... `No user data resource binds this property.` | A `.userData()` property no resource binds. | Bind it in a user data resource (`Bind.domainProperty` / `Bind.domainProperties` with `Source.direct(T, "prop")`), or remove the hint. |
303
307
  | `CLI_DSL_VALIDATION_FAILED` ... `No Handler is generated for the target domain model` | A UI component on a type that gets no Handler (`generatedHandlers: []` in its surface). | Mount the type with a user data resource or a master data resource of a model other than a namespace, or remove the component. |
304
308
  | `CLI_DSL_VALIDATION_FAILED` ... `the condition cannot read a value of another domain model's row` | A `UiSource.rowProp` of a type that gets no Handler. | Read a type whose `generatedHandlers` is not `[]`, or remove the item. |
305
- | `CLI_DSL_VALIDATION_FAILED` ... `instance ids that no longer match their composite-key values` | Row ids not composed from key values in property-id order. | Recompose ids per [Keys and identity](REFERENCE.md#keys-and-identity). |
309
+ | `CLI_DSL_VALIDATION_FAILED` ... `instance ids that no longer match their composite-key values` | Row ids not composed from key values in property-id order. | Give each named row's `instance(...)` the id after `→`. If the line says rows would share an id, first change those rows' key values so each composes an id of its own. |
306
310
  | `CLI_DSL_DEPENDENCY_NOT_INSTALLED` | `dependencies` names a package the project lacks. | A package authored in the project: build it with `dsl build` first. Another package: add it in GS2 Studio. |
307
311
  | `CLI_DSL_PACKAGE_INVALID` ... `Invalid GitHub dependency spec: github:<owner>/<repo>/<dir>` | A subdirectory in a GitHub spec. | Use `github:<owner>/<repo>`; the project's lock records the directory. |
308
312
  | `CLI_DSL_DEPENDENCY_SPEC_MISMATCH` | `dependencies` gives an installed package a spec that names another source than the one the project installed it from, such as `"*"`. | Declare it with the spec the message prints, then build again. |
309
- | `CLI_DSL_VALIDATION_FAILED` ... `the parent <resource> resource has no row` ... `Add a row of "T"` | Rows of a dependency's type sit under a GS2 resource made from rows of `T`, which nobody authored. | Add a row of `T` with `instance(dep.type("T"), id, values)` and point your rows at it (for example the `collection` of a quest row). |
310
- | `... is a dependency the DSL cannot change, so these are fixed through the dependency that brings it in: ...` | A defect of the dependency itself, not of this DSL. | If the message says to remove the dependency `"X"` from the DSL and the package does not need X, remove it and what refers to it. Otherwise tell the user: the project's owner updates or removes the dependency in GS2 Studio, as the message says. |
313
+ | `CLI_DSL_VALIDATION_FAILED` ... `the parent <resource> resource has no row` ... `Add a row of "T"` | Rows of a dependency's type sit under a GS2 resource made from rows of `T`, which nobody authored. | Add a row of `T` with `instance(dep.type("T"), id, values)` and point your rows at it (the property of your rows that refers to it). |
314
+ | `... is a dependency whose own definitions the DSL cannot change, so the findings in them are fixed through the dependency that brings it in: ...` | A defect in the dependency's own definitions, not of this DSL; said once for the package. A finding about rows (rows to add, a row's values) is fixed in this DSL and is not covered by it. | If the message says to remove the dependency `"X"` from the DSL and the package does not need X, remove it and what refers to it. Otherwise tell the user: the project's owner updates or removes the dependency in GS2 Studio, as the message says. |
311
315
  | A successful build prints `[warning] ... No master data is registered for domain model "T"` | A dependency's GS2 resource needs rows of `T` from the project; it is not deployed without them. | Add the row the message names, `instance(dep.type("T"), id, values)`, with the values it names, and build again. `dep.type("<Type>")` means the message names no type `dep.type()` takes: for an inline schema, add elements to the host type's list property with `dep.inlineElements(...)`; for an unresolved type, find it in the surfaces. |
312
316
  | A successful build prints `[error] ... the required arguments (...) of action transform ... have no value for row "r"` | An `actionPropertyTransforms` argument reads a property row `r` has no value for. | Give the row the value; for a row a dependency ships, use `overlayInstance(type, "r", { overrides })`. |
313
317
  | `CLI_DSL_VALIDATION_FAILED` ... `is not a UTC ISO 8601 timestamp` | A `PT.timestamp()` value in another form, such as with an offset (`+09:00`). The message says `In package "<your package>"` when the row is yours, even of a dependency's type. | Write it in UTC with `Z`, such as `"2026-11-30T15:00:00Z"`, in that `instance(...)` (see [Property types](REFERENCE.md#property-types)). |
@@ -487,6 +491,9 @@ The game signs in to GS2 with a client ID and a client secret. Take them from th
487
491
  client has ApplicationAccess permission and is made to be embedded in the game, so the two values are low-sensitivity.
488
492
  - Never create a GS2-Identifier user or client for the game, and never put the developer's GS2 sign-in (email,
489
493
  password, credentials file) or any other management credential into the game.
494
+ - The one exception is a user a package's usage notes (`surfaces/<packageId>.md`) tell you to create, such as the
495
+ user a version check signs a passing player in as. Create it as those notes say, with no security policy and no
496
+ client.
490
497
  - In Unity, they go into a `Gs2Environment` asset (Create > Game Server Services > Core > Environment) with `region`,
491
498
  `clientId`, `clientSecret` and `name`. `Gs2ClientHolder` lists the asset under Environments, and its Active
492
499
  Environment Name must equal the asset's `name` field, not its file name.
@@ -497,13 +504,18 @@ The game signs in to GS2 with a client ID and a client secret. Take them from th
497
504
  only the two output values go into the game. `deploy outputs --stack Default` prints them; do not run it where the
498
505
  terminal is recorded or shared.
499
506
 
500
- ## 9. Master data after a deploy
507
+ ## 9. Changes after a deploy
501
508
 
502
509
  - A deploy that changes master data (rows, rewards, costs, schedules) does not reach every player at once: GS2 caches
503
510
  master data for up to 5 minutes. A request served by a node without the cache gets the new data right away, so a
504
511
  player can see the new and the old values alternate for a few minutes.
505
512
  - When you check a change in the game, wait about 5 minutes before deciding it did not apply. Do not deploy again or
506
513
  change the DSL because a new value has not shown up yet.
514
+ - `assetDelivery` values (such as display names) do not come from GS2: `codegen unity` writes them into assets of the
515
+ Unity project, and players get them in a new build of the game. A deploy does not change them.
516
+ - A value that both paths carry, such as a cost that a UI item shows (`assetDelivery`) and that a transform argument
517
+ sends to GS2, changes in the game only when you both deploy and run `codegen unity`. After only one of them, the
518
+ game shows one value and GS2 applies the other.
507
519
  - For a live game that must switch master data at a set moment for every player, GS2-Distributor fixes the master
508
520
  data each request reads to the content at a given time: the developer's server signs that time with
509
521
  `SignFreezeMasterDataTimestamp`, and the game passes the signed time to `FreezeMasterDataBySignedTimestamp`, which
package/README.md CHANGED
@@ -9,11 +9,11 @@ type-check; use these declarations in your editor and with `tsc --noEmit`.
9
9
  - For LLM coding agents: [LLM.md](LLM.md)
10
10
 
11
11
  ```sh
12
- npm install --save-dev gs2-studio-dsl@2026.11.20
12
+ npm install --save-dev gs2-studio-dsl@2026.11.22
13
13
  ```
14
14
 
15
15
  The version is the GS2 Studio version whose DSL these declarations describe: a DSL written
16
- against gs2-studio-dsl 2026.11.20 builds with GS2 Studio 2026.11.20 and later. Install the version that
16
+ against gs2-studio-dsl 2026.11.22 builds with GS2 Studio 2026.11.22 and later. Install the version that
17
17
  matches the oldest GS2 Studio you build with.
18
18
 
19
19
  ```ts