@moku-labs/game 0.15.56 → 0.15.58
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/README.md +2 -0
- package/dist/app/page.d.mts +3 -2
- package/dist/app/page.mjs +56 -2
- package/dist/app/system.d.mts +3 -3
- package/dist/app.d.mts +3 -3
- package/dist/app.mjs +1 -1
- package/dist/assets.d.mts +1 -1
- package/dist/cli.mjs +104 -26
- package/dist/{commands-D8ocnkh8.d.mts → commands-B208rrQE.d.mts} +5 -5
- package/dist/{config-B87aFTW-.mjs → config-HpC-p8Ow.mjs} +35 -6
- package/dist/control.d.mts +4 -4
- package/dist/{define-DRkVydOj.d.mts → define-U9QpSza7.d.mts} +2 -2
- package/dist/{headless-BtrOeDfI.d.mts → headless-7IBMNGda.d.mts} +1 -1
- package/dist/{index-PGmy-0aO.d.mts → index-m2g9-8_E.d.mts} +15 -6
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +1 -1
- package/dist/inspect.d.mts +6 -6
- package/dist/jsx-dev-runtime.d.mts +1 -1
- package/dist/jsx-runtime.d.mts +1 -1
- package/dist/{runtime-UNbbvD7o.d.mts → runtime-DLCg0viS.d.mts} +1 -1
- package/dist/{src-oLOaiwM6.mjs → src-CJtaTza4.mjs} +1100 -258
- package/dist/testing.d.mts +4 -4
- package/dist/testing.mjs +1 -1
- package/dist/{types-BcANFUZP.d.mts → types-BEW2Y3au.d.mts} +2 -2
- package/dist/{types-ADGyB4g0.d.mts → types-C0As3dEe.d.mts} +2 -2
- package/dist/{types-CdMow4TX.d.mts → types-C6PML3Il.d.mts} +283 -31
- package/dist/{types-VzfTa-kj.d.mts → types-CuFoPhWD.d.mts} +44 -7
- package/dist/{types-BO8ChejZ.d.mts → types-FtzEwwWY.d.mts} +1 -1
- package/dist/{visual-CF3nFcQ3.d.mts → visual-CpTnNnas.d.mts} +6 -6
- package/dist/visual.d.mts +1 -1
- package/llms.txt +3 -2
- package/package.json +1 -1
package/dist/testing.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as createApp } from "./index-
|
|
3
|
-
import { b as saveOf, v as WithGameState, y as memory } from "./types-
|
|
4
|
-
import { a as createHeadless, i as ReproResult, n as HeadlessGame, o as runRepro, r as Repro, s as stepFrames, t as HeadlessApp } from "./headless-
|
|
1
|
+
import { Ar as Json, Dn as NodeTable, Fn as Hint, In as NodeFx, Sr as ClockSource, jn as Descriptor, wr as FakeClock, xn as AnyFlow, yn as FeaturePlugin } from "./types-C6PML3Il.mjs";
|
|
2
|
+
import { t as createApp } from "./index-m2g9-8_E.mjs";
|
|
3
|
+
import { b as saveOf, v as WithGameState, y as memory } from "./types-CuFoPhWD.mjs";
|
|
4
|
+
import { a as createHeadless, i as ReproResult, n as HeadlessGame, o as runRepro, r as Repro, s as stepFrames, t as HeadlessApp } from "./headless-7IBMNGda.mjs";
|
|
5
5
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/clock/fake.d.ts
|
package/dist/testing.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { an as type, en as refuseStart, m as flattenFeatures, nn as exit, t as createApp } from "./src-
|
|
1
|
+
import { an as type, en as refuseStart, m as flattenFeatures, nn as exit, t as createApp } from "./src-CJtaTza4.mjs";
|
|
2
2
|
import { n as saveOf, t as memory } from "./memory-CWlqhS7l.mjs";
|
|
3
3
|
import { n as fakeClock } from "./fake-hnJcJeYf.mjs";
|
|
4
4
|
import { i as stepFrames, r as runRepro, t as createHeadless } from "./headless-CCiUwvlp.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as HeadlessApp } from "./headless-
|
|
1
|
+
import { Ar as Json, zr as Snapshot } from "./types-C6PML3Il.mjs";
|
|
2
|
+
import { t as HeadlessApp } from "./headless-7IBMNGda.mjs";
|
|
3
3
|
import { Log } from "@moku-labs/common/browser";
|
|
4
4
|
|
|
5
5
|
//#region src/plugins/flow/doors/types.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as PixiModule, A as SyncApi, An as TypeTag,
|
|
2
|
-
import { N as InputApi, R as I18nApi, X as StylesState, c as UiNode, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion, w as TextApi } from "./types-
|
|
1
|
+
import { $ as PixiModule, $n as AnyComponent, A as SyncApi, An as TypeTag, Ar as Json, Dr as Api$6, Gn as NumericFields, Jn as ReducedMotion, Kr as Events$5, O as FilterSlot, Q as PixiFilter, Rn as AnchorTarget, Vn as Ease, Wn as MotionHandle, Xn as TrackOptions, Xr as Api$1, Y as Api$4, Zn as TrackSegment, ai as Events$2, b as Events$4, et as PixiSprite, ft as FilterCache, gr as Api$3, ir as ComponentType, jn as Descriptor, k as FilterSlotInputs, kr as Events$3, nn as Api$2, nr as ComponentHandle, oi as Require, or as Entity, s as Events$1, t as Api$5, tr as AnyComponentValue, tt as PixiTexture, ut as Point } from "./types-C6PML3Il.mjs";
|
|
2
|
+
import { N as InputApi, R as I18nApi, X as StylesState, c as UiNode, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion, w as TextApi } from "./types-FtzEwwWY.mjs";
|
|
3
3
|
import { Log } from "@moku-labs/common/browser";
|
|
4
4
|
import { PluginCtx } from "@moku-labs/core";
|
|
5
5
|
|
|
@@ -1912,7 +1912,7 @@ type SystemTiming = {
|
|
|
1912
1912
|
ms: Float64Array;
|
|
1913
1913
|
};
|
|
1914
1914
|
declare namespace types_d_exports$4 {
|
|
1915
|
-
export { AnyComponentType, AnyComponentValue, AnyProjectionSpec, AnySystem, Api$3 as Api, Cause, ChangeHook, ComponentHandle, ComponentSchema, ComponentType, ComponentValue, Config$4 as Config, Deps$4 as Deps, DescriptionNode, Ease, EcsApi, EcsModule, Entity, EntityDiff, EntitySnapshot, Events$4 as Events, Explained, FrameDiff, GameSystemDefinition, InitialOnly, InitialOnlyPair, KernelSlice$4 as KernelSlice, LayerSort, LayerSpec, ModelCommitted, Motion, MotionCause, MotionHandle, Mut, Narrowed, NumericFields, Owner, ProjectionApi, ProjectionKey, ProjectionModule, ProjectionMotion, ProjectionSpec, QueryTerm, QueryTuple, ReducedMotion, ResourceType, RestOptions, State$4 as State, SystemContext, SystemContextOf, SystemDefinition, SystemFor, SystemTiming, TagType, TrackOptions, TrackSegment, TweenDriver, TweenOptions, ViewHandle, ViewOutput, WorldCtx, WorldMode, WorldPhase, WorldSnapshot };
|
|
1915
|
+
export { AnyComponentType, AnyComponentValue, AnyProjectionSpec, AnySystem, Api$3 as Api, Cause, ChangeHook, ComponentHandle, ComponentSchema, ComponentType, ComponentValue, Config$4 as Config, Deps$4 as Deps, DescriptionNode, Ease, EcsApi, EcsModule, Entity, EntityDiff, EntitySnapshot, Events$4 as Events, Explained, FrameDiff, GameSystemDefinition, InitialOnly, InitialOnlyPair, KernelSlice$4 as KernelSlice, LayerSort, LayerSpec, ModelCommitted, Motion, MotionCause, MotionHandle, Mut, Narrowed, NumericFields, Owner, ProjectionApi, ProjectionKey, ProjectionModule, ProjectionMotion, ProjectionSpec, QueryTerm, QueryTuple, ReducedMotion, ResourceType, RestOptions, SceneSwitch, State$4 as State, SystemContext, SystemContextOf, SystemDefinition, SystemFor, SystemTiming, TagType, TrackOptions, TrackSegment, TweenDriver, TweenOptions, ViewHandle, ViewOutput, WorldCtx, WorldMode, WorldPhase, WorldSnapshot };
|
|
1916
1916
|
}
|
|
1917
1917
|
/**
|
|
1918
1918
|
* world plugin events.
|
|
@@ -3729,6 +3729,22 @@ type InitialOnlyPair<Value extends object> = readonly [ComponentHandle<Value>, r
|
|
|
3729
3729
|
* ```
|
|
3730
3730
|
*/
|
|
3731
3731
|
type InitialOnly<Values extends readonly object[]> = { readonly [Index in keyof Values]: InitialOnlyPair<Values[Index]> };
|
|
3732
|
+
/**
|
|
3733
|
+
* A scene switch, as a plugin hands it to a projection with `projection.feed`: the scene left, the scene entered, and
|
|
3734
|
+
* the share of the switch's bundles loaded, 0 to 1. The projection's `from` reads it as its third argument. `scenes`
|
|
3735
|
+
* feeds its leave loader one: `{ from: current, to: current, progress: 0 }` while the scene stands, then the switch.
|
|
3736
|
+
*
|
|
3737
|
+
* @example
|
|
3738
|
+
* ```ts
|
|
3739
|
+
* // 300 ms into the ward → board switch, half of the board's bundles are loaded.
|
|
3740
|
+
* const sw: SceneSwitch = { from: "ward", to: "board", progress: 0.5 };
|
|
3741
|
+
* ```
|
|
3742
|
+
*/
|
|
3743
|
+
type SceneSwitch = {
|
|
3744
|
+
readonly from: string;
|
|
3745
|
+
readonly to: string;
|
|
3746
|
+
readonly progress: number;
|
|
3747
|
+
};
|
|
3732
3748
|
/**
|
|
3733
3749
|
* One projection: keyed items of the model turned into entities. `Item` is inferred from the
|
|
3734
3750
|
* return of `from`; `layer` and `lift` keep their literal types so a scene can check them.
|
|
@@ -3751,7 +3767,33 @@ type ProjectionSpec<Item, LayerName extends string, LiftName extends string, Pla
|
|
|
3751
3767
|
readonly name: string;
|
|
3752
3768
|
readonly layer: LayerName;
|
|
3753
3769
|
readonly lift?: LiftName;
|
|
3754
|
-
|
|
3770
|
+
/**
|
|
3771
|
+
* The items of the projection, read from the committed state: a list, keyed by `key`, or one plain object, a screen
|
|
3772
|
+
* drawn under the name of the projection; `undefined` or `null` shows nothing. The third argument is the switch
|
|
3773
|
+
* another plugin last handed this projection with `projection.feed`, `undefined` for a projection never fed: the
|
|
3774
|
+
* leave loader of a scene reads where the switch goes and how far it loaded. A `from` with two parameters reads the
|
|
3775
|
+
* state alone, as before.
|
|
3776
|
+
*
|
|
3777
|
+
* @param player - The `player` root of the committed state.
|
|
3778
|
+
* @param session - The `session` root of the committed state.
|
|
3779
|
+
* @param sw - The switch last fed, or `undefined`.
|
|
3780
|
+
* @returns The items, or the one item of a screen.
|
|
3781
|
+
* @example
|
|
3782
|
+
* ```ts
|
|
3783
|
+
* // The leave loader of a game: where the switch goes and its progress.
|
|
3784
|
+
* export const loading = projection({
|
|
3785
|
+
* name: "screens.loading",
|
|
3786
|
+
* layer: "veil",
|
|
3787
|
+
* from: (_player: Player, _session: Session, sw: SceneSwitch | undefined) => ({
|
|
3788
|
+
* to: sw?.to ?? "",
|
|
3789
|
+
* progress: sw?.progress ?? 0
|
|
3790
|
+
* }),
|
|
3791
|
+
* view: loader => loaderView(loader)
|
|
3792
|
+
* });
|
|
3793
|
+
* // `scenes` fed it { from: "ward", to: "board", progress: 0.5 }: the item is { to: "board", progress: 0.5 }.
|
|
3794
|
+
* ```
|
|
3795
|
+
*/
|
|
3796
|
+
from(player: Player, session: Session, sw: SceneSwitch | undefined): readonly Item[] | Item; /** Omitted when `from` returns one plain object: the key is then the name of the projection. */
|
|
3755
3797
|
key?(item: Item): string;
|
|
3756
3798
|
view(item: Item): ViewOutput;
|
|
3757
3799
|
readonly motion?: ProjectionMotion<Item>;
|
|
@@ -3836,8 +3878,8 @@ type ProjectionSpec<Item, LayerName extends string, LiftName extends string, Pla
|
|
|
3836
3878
|
type AnyProjectionSpec = {
|
|
3837
3879
|
readonly name: string;
|
|
3838
3880
|
readonly layer: string;
|
|
3839
|
-
readonly lift?: string;
|
|
3840
|
-
from(player: Json, session: Json): unknown;
|
|
3881
|
+
readonly lift?: string; /** The items of `ProjectionSpec.from`, their type erased; the third argument is the switch last fed. */
|
|
3882
|
+
from(player: Json, session: Json, sw: SceneSwitch | undefined): unknown;
|
|
3841
3883
|
key?(item: unknown): string;
|
|
3842
3884
|
view(item: unknown): ViewOutput;
|
|
3843
3885
|
readonly motion?: AnyProjectionMotion; /** The `initialOnly` pairs, their field names no longer tied to the component. */
|
|
@@ -4054,7 +4096,7 @@ type ProjectionState = {
|
|
|
4054
4096
|
* The game clock at the start of this frame (world's `input` phase), or at the start of a scene build in its own
|
|
4055
4097
|
* frame: what `left()` counts from, for a scene build and a warm window alike.
|
|
4056
4098
|
*/
|
|
4057
|
-
frameStart: number; /** The warm record of every mounted projection that declares `warm
|
|
4099
|
+
frameStart: number; /** The warm record of every mounted projection that declares `warm` or is held, by projection name. */
|
|
4058
4100
|
warm: Map<string, WarmRecord>; /** The same records in mounted order: the order the warm step takes them in. */
|
|
4059
4101
|
warmList: WarmRecord[];
|
|
4060
4102
|
/**
|
|
@@ -4070,6 +4112,27 @@ type ProjectionState = {
|
|
|
4070
4112
|
*/
|
|
4071
4113
|
warmStale: boolean; /** Milliseconds per frame the building of a warm view may take, read from the frame rate when the work starts. */
|
|
4072
4114
|
warmBudgetMs: number;
|
|
4115
|
+
/**
|
|
4116
|
+
* The projections `hold` mounted and `show` has not released: a reconcile shows none of their items, and their
|
|
4117
|
+
* record keeps `from`'s first item built and hidden. `unmount`, the clear and `onStop` forget a name.
|
|
4118
|
+
*/
|
|
4119
|
+
held: Set<string>;
|
|
4120
|
+
/**
|
|
4121
|
+
* The names `show` released, and the shown ones `feed` changed, since the last reconcile: the next reconcile
|
|
4122
|
+
* reconciles them by name. A name is on it once.
|
|
4123
|
+
*/
|
|
4124
|
+
showing: string[];
|
|
4125
|
+
/**
|
|
4126
|
+
* The switch `feed` last handed each projection, by name: what `from` reads as its third argument. The public
|
|
4127
|
+
* `unmount`, the clear and `onStop` forget it; a `hold` or a `mount` that places a mounted name again keeps it.
|
|
4128
|
+
*/
|
|
4129
|
+
fed: Map<string, SceneSwitch>;
|
|
4130
|
+
/**
|
|
4131
|
+
* The switch a held projection's warm step reads `from` with, by name: set by the first `feed` after `hold`, so a
|
|
4132
|
+
* later feed never makes the held item differ; dropped by `hold`, `show` and every unmount. Without one the warm step
|
|
4133
|
+
* reads `fed`, the value stored when `hold` ran.
|
|
4134
|
+
*/
|
|
4135
|
+
heldFed: Map<string, SceneSwitch>;
|
|
4073
4136
|
};
|
|
4074
4137
|
/**
|
|
4075
4138
|
* Where a warm record stands: nothing held (`"cold"`), its view held and still built by ui and the renderer
|
|
@@ -4077,8 +4140,9 @@ type ProjectionState = {
|
|
|
4077
4140
|
*/
|
|
4078
4141
|
type WarmPhase = "cold" | "building" | "ready" | "shown";
|
|
4079
4142
|
/**
|
|
4080
|
-
* The warm window of one mounted projection: the item `warm` gave,
|
|
4081
|
-
* its key. A record lives while its projection is mounted; its view
|
|
4143
|
+
* The warm window of one mounted projection: the item `warm` gave, or `from`'s first item while the projection is held,
|
|
4144
|
+
* and the view of it held hidden until `from` shows its key. A record lives while its projection is mounted; its view
|
|
4145
|
+
* is spawned, patched and dropped in place.
|
|
4082
4146
|
*/
|
|
4083
4147
|
type WarmRecord = {
|
|
4084
4148
|
/** The projection. */name: string; /** The key of the held item; absent while nothing is held. */
|
|
@@ -4092,8 +4156,8 @@ type WarmRecord = {
|
|
|
4092
4156
|
entities: Set<Entity>;
|
|
4093
4157
|
phase: WarmPhase;
|
|
4094
4158
|
/**
|
|
4095
|
-
* The state
|
|
4096
|
-
* threw, so a throw is logged once per commit and not every frame.
|
|
4159
|
+
* The state the item was last read against: the step reads it again only after a commit, a `hold` or a `show`.
|
|
4160
|
+
* Kept when `warm`, `from` or `view` threw, so a throw is logged once per commit and not every frame.
|
|
4097
4161
|
*/
|
|
4098
4162
|
seen?: Snapshot;
|
|
4099
4163
|
};
|
|
@@ -4230,6 +4294,79 @@ type ProjectionApi = {
|
|
|
4230
4294
|
* ```
|
|
4231
4295
|
*/
|
|
4232
4296
|
unmount(names: readonly string[]): void;
|
|
4297
|
+
/**
|
|
4298
|
+
* Mounts projections held: the checks and the places of `mount`, but a held projection shows none of its items, and
|
|
4299
|
+
* every name is reconciled at once, direct, so one that showed views drops them. Its `from`'s first item (keyed by
|
|
4300
|
+
* `key`, or by the name of the projection) is kept built and hidden instead, as a warm window keeps its item: in the
|
|
4301
|
+
* idle time of frames, under the warm budget, never drawn, never hit; `isBuilding` answers true for its view and for
|
|
4302
|
+
* what `adopt` marks, `entityOf` and `entitiesOf` nothing. A commit writes into the held view as into a warm one; a
|
|
4303
|
+
* restore, a load, a forced rerun and the start of a scene build drop it as they drop a warm one, to be built again.
|
|
4304
|
+
* It stays held until `show` or `unmount`. A projection that declares `warm` holds `from`'s item while it is held,
|
|
4305
|
+
* and warms its own item again once shown and closed. Only a drawing renderer and a live world build it, as for a
|
|
4306
|
+
* warm window; elsewhere nothing is built and `show` spawns the view. Nothing is held when the call throws.
|
|
4307
|
+
*
|
|
4308
|
+
* @param names - Names of the projections to hold.
|
|
4309
|
+
* @param owner - Who owns the entities of these projections.
|
|
4310
|
+
* @throws {Error} For an unknown name, or a `layer` or `lift` the scene does not declare.
|
|
4311
|
+
* @example
|
|
4312
|
+
* ```ts
|
|
4313
|
+
* // `scenes`: the ward stands; its leave loader `loading` is built ahead for the next switch, hidden.
|
|
4314
|
+
* const world = ctx.require(worldPlugin);
|
|
4315
|
+
* world.projection.hold(["loading"], { kind: "plugin", name: "scenes" });
|
|
4316
|
+
* world.projection.entitiesOf("loading"); // []: nothing shows over the ward
|
|
4317
|
+
* world.projection.isBuilding(1_048_620); // true a frame later: the loader's root, built in idle frames
|
|
4318
|
+
* ```
|
|
4319
|
+
*/
|
|
4320
|
+
hold(names: readonly string[], owner: Owner): void;
|
|
4321
|
+
/**
|
|
4322
|
+
* Shows a held projection: it is held no more, and the next reconcile (the `input` phase of the next frame) shows its
|
|
4323
|
+
* `from`'s item, also while a scene is built aside. The held view is adopted: the same entity, no spawn. An item with
|
|
4324
|
+
* the content of the held one runs no `view` and writes nothing; another one has the difference written directly,
|
|
4325
|
+
* with no `change` hook. The `enter` and `loop` hooks play as for a new view; a world that is not live shows it
|
|
4326
|
+
* direct. A held view still in work is shown as it stands, and ui builds the rest of its root in one block. With no
|
|
4327
|
+
* held view (a headless app, a paused world) the reconcile spawns it as a mount does. A name that is not held:
|
|
4328
|
+
* nothing.
|
|
4329
|
+
*
|
|
4330
|
+
* @param name - The held projection.
|
|
4331
|
+
* @example
|
|
4332
|
+
* ```ts
|
|
4333
|
+
* // `scenes`, in the renderer's `due` of a switch that took 400 ms: the loader built while the ward stood is shown.
|
|
4334
|
+
* const world = ctx.require(worldPlugin);
|
|
4335
|
+
* world.projection.show("loading");
|
|
4336
|
+
* world.projection.entityOf("loading", "loading"); // undefined until the next frame's reconcile
|
|
4337
|
+
* world.projection.entityOf("loading", "loading"); // 1_048_620 the next frame: the same root, no spawn
|
|
4338
|
+
* world.projection.show("hud"); // nothing: the HUD is not held
|
|
4339
|
+
* ```
|
|
4340
|
+
*/
|
|
4341
|
+
show(name: string): void;
|
|
4342
|
+
/**
|
|
4343
|
+
* Hands a projection the scene switch its `from` reads as its third argument (`scenes` feeds its leave loader).
|
|
4344
|
+
* A value equal field by field to the one stored (`from`, `to` and `progress`, each with `===`) changes nothing and
|
|
4345
|
+
* allocates nothing. Any other value is stored as it is, not copied: feed a new object for a new value, never one
|
|
4346
|
+
* changed in place (its fields are read-only). Then what happens depends on the projection:
|
|
4347
|
+
* - Held (`hold`): nothing more. The held view keeps the value of the first feed after `hold` (or the one stored
|
|
4348
|
+
* when `hold` ran), also through a commit, so a feed never builds it again; `show` reads the latest value and
|
|
4349
|
+
* writes the difference into the held view once.
|
|
4350
|
+
* - Mounted and shown: the next reconcile (the `input` phase of the next frame) reads its `from` again by name, with
|
|
4351
|
+
* no commit. A changed item is a change of a live view under the rules of any commit: an `enter` that still plays
|
|
4352
|
+
* is cancelled, a `change` hook runs. It costs one reconcile of that projection.
|
|
4353
|
+
* - Not mounted, or unknown: only stored; a later `mount` or `hold` reads it.
|
|
4354
|
+
*
|
|
4355
|
+
* `unmount` forgets the value of its names, and so do the clear and `onStop`; a `hold` or a `mount` that places a
|
|
4356
|
+
* mounted name again keeps it.
|
|
4357
|
+
*
|
|
4358
|
+
* @param name - The projection.
|
|
4359
|
+
* @param sw - The switch: the scene left, the scene entered and the share of its bundles loaded.
|
|
4360
|
+
* @example
|
|
4361
|
+
* ```ts
|
|
4362
|
+
* // `scenes`, 300 ms into the ward → board switch: the shown loader gets half of the board's bundles loaded.
|
|
4363
|
+
* ctx.require(worldPlugin).projection.feed("screens.loading", { from: "ward", to: "board", progress: 0.5 });
|
|
4364
|
+
* // The next frame's reconcile calls the loader's from(player, session, { from: "ward", to: "board", progress: 0.5 }).
|
|
4365
|
+
* ctx.require(worldPlugin).projection.feed("screens.loading", { from: "ward", to: "board", progress: 0.5 });
|
|
4366
|
+
* // An equal value: no reconcile, 0 B.
|
|
4367
|
+
* ```
|
|
4368
|
+
*/
|
|
4369
|
+
feed(name: string, sw: SceneSwitch): void;
|
|
4233
4370
|
/**
|
|
4234
4371
|
* A drop with no commit: cancels the view's motions and plays settle for every loose component.
|
|
4235
4372
|
* A view that loops comes home too, and its loop runs on. In mode `paused` or `fast` the rest
|
|
@@ -11353,7 +11490,7 @@ type LeaveCover = {
|
|
|
11353
11490
|
* The loader of a scene being left, drawn above the veil when the switch is not done `afterMs` after its start, until
|
|
11354
11491
|
* the swap: a game texture turning at the centre (`texture`), a layer of the scene drawn above the veil (`due`, which
|
|
11355
11492
|
* makes what the loader draws only once it is due and answers its layer: `scenes` mounts a loader projection there),
|
|
11356
|
-
* or, with neither, a white ring the engine draws.
|
|
11493
|
+
* or, with neither, a white ring the engine draws. A layer that shows at the swap fades out with the veil.
|
|
11357
11494
|
*
|
|
11358
11495
|
* @example
|
|
11359
11496
|
* ```ts
|
|
@@ -11369,8 +11506,10 @@ type LeaveLoader = {
|
|
|
11369
11506
|
/**
|
|
11370
11507
|
* Called once, in the first frame the loader is due and before it is drawn, never for a switch done sooner: it
|
|
11371
11508
|
* makes what the loader draws and answers the layer of the scene that holds it, whose container is drawn above the
|
|
11372
|
-
* veil from then
|
|
11373
|
-
*
|
|
11509
|
+
* veil from then on. After the swap it stays there and fades out with the veil, its alpha the veil's level; once the
|
|
11510
|
+
* veil is gone it waits there at alpha 0 until no view hangs in it (the switch unmounts the loader), then goes back
|
|
11511
|
+
* under the root at alpha 1. A drop puts it back at once. `undefined`, or a throw, draws the ring; a layer the scene
|
|
11512
|
+
* does not declare draws nothing.
|
|
11374
11513
|
*
|
|
11375
11514
|
* @returns The layer, or `undefined` for the ring.
|
|
11376
11515
|
*/
|
|
@@ -11421,8 +11560,9 @@ type LeaveApi = {
|
|
|
11421
11560
|
*/
|
|
11422
11561
|
show(look: LeaveLook): void;
|
|
11423
11562
|
/**
|
|
11424
|
-
* The switch swapped the next scene in: the
|
|
11425
|
-
*
|
|
11563
|
+
* The switch swapped the next scene in: the veil fades out over its `outMs` from where it stands and is taken off the
|
|
11564
|
+
* stage. A ring or a texture loader goes at once; a layer loader that shows stays above the veil and fades out with
|
|
11565
|
+
* it, and its layer goes back under the root once the loader's views left it. Nothing runs: nothing happens.
|
|
11426
11566
|
*
|
|
11427
11567
|
* @example
|
|
11428
11568
|
* ```ts
|
|
@@ -11469,21 +11609,37 @@ type LeaveRun = {
|
|
|
11469
11609
|
startedAt: number;
|
|
11470
11610
|
steppedAt: number;
|
|
11471
11611
|
level: number;
|
|
11472
|
-
landed: boolean;
|
|
11612
|
+
landed: boolean; /** The veil's level at the swap: a layer loader fades from whole to nothing over the rest of it. 1 before the swap. */
|
|
11613
|
+
landedLevel: number;
|
|
11473
11614
|
loader: LoaderKind; /** The texture of a `"texture"` loader, resolved at `show`. */
|
|
11474
11615
|
texture?: PixiTexture; /** A `"layer"` loader's `due` was called: once, the first frame it was due. */
|
|
11475
11616
|
asked: boolean; /** The layer a `"layer"` loader's `due` answered; absent before. */
|
|
11476
|
-
layer?: string; /** The layer container a `"layer"` loader drew above the veil; absent while none
|
|
11477
|
-
lifted?: PixiContainer; /** The loader is shown: past its `afterMs`, before the swap. */
|
|
11617
|
+
layer?: string; /** The layer container a `"layer"` loader drew above the veil, kept through the fade-out; absent while none is. */
|
|
11618
|
+
lifted?: PixiContainer; /** The loader is shown: past its `afterMs`, before the swap; after it, a layer loader that showed, while it fades. */
|
|
11478
11619
|
shown: boolean;
|
|
11479
11620
|
};
|
|
11480
11621
|
/**
|
|
11481
|
-
*
|
|
11482
|
-
*
|
|
11622
|
+
* A loader layer that faded out with the veil and waits above it, at alpha 0, until the loader's views left it: under
|
|
11623
|
+
* the root it would draw them whole. Not public.
|
|
11624
|
+
*/
|
|
11625
|
+
type LeaveParked = {
|
|
11626
|
+
container: PixiContainer; /** The layer, whose place in the layer list it goes back to. */
|
|
11627
|
+
layer: string | undefined;
|
|
11628
|
+
/**
|
|
11629
|
+
* Frames it waits at most: views another owner draws in the layer (the scene that stands, a loader the game mounted)
|
|
11630
|
+
* never leave it, and the layer goes back whole then.
|
|
11631
|
+
*/
|
|
11632
|
+
framesLeft: number;
|
|
11633
|
+
};
|
|
11634
|
+
/**
|
|
11635
|
+
* The picture of a scene being left (spec 33, slice A2): the running look, absent while none runs; the engine's
|
|
11636
|
+
* objects, absent until the first look needs them and after the application that held them was lost; and the loader
|
|
11637
|
+
* layer that waits for its views to leave, absent while none does. Not public.
|
|
11483
11638
|
*/
|
|
11484
11639
|
type LeaveState = {
|
|
11485
11640
|
run?: LeaveRun;
|
|
11486
11641
|
objects?: LeaveObjects;
|
|
11642
|
+
parked?: LeaveParked;
|
|
11487
11643
|
};
|
|
11488
11644
|
/**
|
|
11489
11645
|
* sync module API, `app.renderer.sync`. The one owner of every display object: it builds them
|
|
@@ -12231,7 +12387,7 @@ type PassCount = {
|
|
|
12231
12387
|
enabled: boolean[];
|
|
12232
12388
|
};
|
|
12233
12389
|
declare namespace types_d_exports$1 {
|
|
12234
|
-
export { AnySceneProjection, CheckedProjections, Config$1 as Config, DefineScene, Deps$1 as Deps, Events$1 as Events, FullCover, FullLeave, FullLoader, KernelSlice$1 as KernelSlice, LayerMap, Leaving, RunContext, SceneBuild, SceneCover, SceneDefinition, SceneLayer, SceneLeave, SceneLoader, SceneOwner, SceneProjection, SceneSpec, SceneState, ScenesApi, ScenesCtx, SortRule, State$1 as State, UiLayer };
|
|
12390
|
+
export { AnySceneProjection, BundleProgress, BundleShare, CheckedProjections, Config$1 as Config, DefineScene, Deps$1 as Deps, Events$1 as Events, FadingLoader, FullCover, FullLeave, FullLoader, HeldLoader, KernelSlice$1 as KernelSlice, LayerMap, Leaving, LoaderFeed, RunContext, SceneBuild, SceneCover, SceneDefinition, SceneEnter, SceneLayer, SceneLeave, SceneLoader, SceneOwner, SceneProjection, SceneSpec, SceneState, ScenesApi, ScenesCtx, SortRule, State$1 as State, UiLayer };
|
|
12235
12391
|
}
|
|
12236
12392
|
/**
|
|
12237
12393
|
* How a layer orders what is drawn in it. The scene's name for the rule `world` stores.
|
|
@@ -12335,7 +12491,7 @@ type CheckedProjections<Layer extends string, List> = { readonly [Index in keyof
|
|
|
12335
12491
|
* The veil a live switch lays over the scene being left, from the switch start: a full-screen rect the engine draws
|
|
12336
12492
|
* above every layer, fading from 0 to `alpha` over `inMs`; after the swap the next scene is under it and it fades out
|
|
12337
12493
|
* over `outMs`. It takes no tap. A field left out keeps the one of the level below: the scene's over the config's over
|
|
12338
|
-
* the engine's.
|
|
12494
|
+
* the engine's. The scene being entered has the last word on its `color` and `alpha` (`enter.cover`).
|
|
12339
12495
|
*
|
|
12340
12496
|
* @example
|
|
12341
12497
|
* ```ts
|
|
@@ -12354,8 +12510,9 @@ type SceneCover = {
|
|
|
12354
12510
|
* texture turning at the centre (`texture`), a projection of the game drawn above the veil (`projection`), or, with
|
|
12355
12511
|
* neither, a white ring the engine draws. `texture` and `projection` are one choice: a level that names either replaces
|
|
12356
12512
|
* both of the level below, and with both named `projection` is drawn. A projection loader draws in a layer of its own
|
|
12357
|
-
* that the scene being left declares
|
|
12358
|
-
* while the
|
|
12513
|
+
* that the scene being left declares: kept built and hidden while that scene stands, shown once the loader is due (the
|
|
12514
|
+
* whole layer is drawn above the veil while it shows), and faded out with the veil after the swap. `scenes` hands its
|
|
12515
|
+
* `from` the switch (`SceneSwitch`): where it goes and how far its bundles loaded.
|
|
12359
12516
|
*
|
|
12360
12517
|
* @example
|
|
12361
12518
|
* ```ts
|
|
@@ -12367,15 +12524,21 @@ type SceneCover = {
|
|
|
12367
12524
|
*/
|
|
12368
12525
|
type SceneLoader<Asset extends string = string> = {
|
|
12369
12526
|
/** Milliseconds after the switch start the loader waits for. Default 400. */afterMs?: number; /** An asset key of the game: the texture turns at the centre of the frame. */
|
|
12370
|
-
texture?: Asset;
|
|
12527
|
+
texture?: Asset;
|
|
12528
|
+
/**
|
|
12529
|
+
* The name of a registered projection: kept built and hidden while the scene stands, shown once the loader is due,
|
|
12530
|
+
* its layer drawn above the veil; it fades out with the veil after the swap. Its `from(player, session, sw)` reads the
|
|
12531
|
+
* switch as its third argument: `{ from: "ward", to: "ward", progress: 0 }` while the ward stands, then `{ from:
|
|
12532
|
+
* "ward", to: "board", progress }`, the share of the board's bundles loaded, in steps of 0.01 up to 1.
|
|
12533
|
+
*/
|
|
12371
12534
|
projection?: string;
|
|
12372
12535
|
};
|
|
12373
12536
|
/**
|
|
12374
12537
|
* What a live switch shows over the scene being left: the veil and the loader. The scene being left decides: its
|
|
12375
12538
|
* `leave` is merged field by field over `config.leave`, which is merged over the engine's default (`{ cover: { color:
|
|
12376
12539
|
* 0x000000, alpha: 0.45, inMs: 50, outMs: 150 }, loader: { afterMs: 400 } }`). `false` turns a part or the whole off;
|
|
12377
|
-
* a part written over `false` starts from the engine's default.
|
|
12378
|
-
* show nothing.
|
|
12540
|
+
* a part written over `false` starts from the engine's default. The scene being entered may set the veil's `color` and
|
|
12541
|
+
* `alpha` on top (`enter.cover`). Fast mode, a headless app and the first scene of a run show nothing.
|
|
12379
12542
|
*
|
|
12380
12543
|
* @example
|
|
12381
12544
|
* ```ts
|
|
@@ -12390,6 +12553,22 @@ type SceneLeave<Asset extends string = string> = {
|
|
|
12390
12553
|
cover?: SceneCover | false;
|
|
12391
12554
|
loader?: SceneLoader<Asset> | false;
|
|
12392
12555
|
} | false;
|
|
12556
|
+
/**
|
|
12557
|
+
* What a live switch to this scene shows over the scene being left: the veil takes this scene's `color` and `alpha`,
|
|
12558
|
+
* each over what the scene being left resolved (its `leave` over `config.leave` over the engine's). Only the look of
|
|
12559
|
+
* the veil: `inMs` and `outMs` stay the left scene's, and a veil the scene being left turned off (`cover: false`)
|
|
12560
|
+
* stays off, as `enter` never turns one on. Absent: the scene being left decides alone.
|
|
12561
|
+
*
|
|
12562
|
+
* @example
|
|
12563
|
+
* ```ts
|
|
12564
|
+
* // Every way into the night scene dims the scene being left in navy at 70 %: ward → night shows the veil
|
|
12565
|
+
* // { color: 0x0b1020, alpha: 0.7, inMs: 50, outMs: 150 } over a ward that leaves with the engine's.
|
|
12566
|
+
* const enter: SceneEnter = { cover: { color: 0x0b1020, alpha: 0.7 } };
|
|
12567
|
+
* ```
|
|
12568
|
+
*/
|
|
12569
|
+
type SceneEnter = {
|
|
12570
|
+
/** The `color` and the `alpha` of the veil of a switch to this scene. */cover?: Pick<SceneCover, "color" | "alpha">;
|
|
12571
|
+
};
|
|
12393
12572
|
/**
|
|
12394
12573
|
* What the author passes to `defineScene`. The layer names come from the keys of `layers` plus
|
|
12395
12574
|
* the appended `ui`; `NoInfer` keeps `projections` out of that inference, so a wrong name is
|
|
@@ -12422,7 +12601,8 @@ type SceneSpec<Layers extends LayerMap, Projections extends readonly AnyScenePro
|
|
|
12422
12601
|
layers: Layers;
|
|
12423
12602
|
projections: Projections & NoInfer<CheckedProjections<SceneLayer<Layers>, Projections>>;
|
|
12424
12603
|
music?: Asset; /** What a live switch shows over this scene when it is left: merged field by field over `config.leave`. */
|
|
12425
|
-
leave?: SceneLeave<Asset>;
|
|
12604
|
+
leave?: SceneLeave<Asset>; /** What a live switch to this scene shows: the `color` and `alpha` of the veil over the scene being left. */
|
|
12605
|
+
enter?: SceneEnter;
|
|
12426
12606
|
};
|
|
12427
12607
|
/**
|
|
12428
12608
|
* The signature of `defineScene` bound to the asset and bundle keys and to the `Player` and
|
|
@@ -12458,7 +12638,8 @@ type SceneDefinition = {
|
|
|
12458
12638
|
* @returns The bundle names the scene needs on top of `bundle`.
|
|
12459
12639
|
*/
|
|
12460
12640
|
bundles?(state: SceneState): readonly string[]; /** What `defineScene` was given as `leave`; absent when the scene takes the config's. */
|
|
12461
|
-
readonly leave?: SceneLeave;
|
|
12641
|
+
readonly leave?: SceneLeave; /** What `defineScene` was given as `enter`; absent when the scene being left decides the veil alone. */
|
|
12642
|
+
readonly enter?: SceneEnter;
|
|
12462
12643
|
};
|
|
12463
12644
|
/**
|
|
12464
12645
|
* The committed state a scene's `bundles` reads: the frozen `player` and `session` of `model.store.snapshot()`, never a
|
|
@@ -12578,6 +12759,35 @@ type State$1 = {
|
|
|
12578
12759
|
* one. Absent otherwise: deleted, never written as `undefined`.
|
|
12579
12760
|
*/
|
|
12580
12761
|
leaving?: Leaving;
|
|
12762
|
+
/**
|
|
12763
|
+
* The leave loader projection scenes holds for the next switch of the scene that stands (F103): `world` keeps it
|
|
12764
|
+
* built and hidden, and the loader's `due` only shows it. Absent while it holds none: deleted, never written as
|
|
12765
|
+
* `undefined`.
|
|
12766
|
+
*/
|
|
12767
|
+
held?: HeldLoader;
|
|
12768
|
+
/**
|
|
12769
|
+
* The loader projection the last switch showed, fading out with the veil after its swap (F107 part 3), until the
|
|
12770
|
+
* veil's `outMs` passed. Absent otherwise: deleted, never written as `undefined`.
|
|
12771
|
+
*/
|
|
12772
|
+
fading?: FadingLoader;
|
|
12773
|
+
};
|
|
12774
|
+
/**
|
|
12775
|
+
* A leave loader projection scenes holds while a scene stands (F103): its name and the layer its spec names, which the
|
|
12776
|
+
* renderer draws above the veil once the loader is due.
|
|
12777
|
+
*/
|
|
12778
|
+
type HeldLoader = {
|
|
12779
|
+
/** The projection. */name: string; /** The `layer` of its spec: the view a `show` brings has no `Layer` before the next frame's reconcile. */
|
|
12780
|
+
layer: string;
|
|
12781
|
+
};
|
|
12782
|
+
/**
|
|
12783
|
+
* A loader projection fading out with the veil after the swap of its switch (F107 part 3): unmounted once the veil's
|
|
12784
|
+
* `outMs` passed, or held again for the next switch when the scene that stands leaves with the same loader.
|
|
12785
|
+
*/
|
|
12786
|
+
type FadingLoader = {
|
|
12787
|
+
/** The projection. */name: string; /** Milliseconds of the fade still to run, counted down by the frames since the swap. */
|
|
12788
|
+
leftMs: number; /** The loader the scene that stands holds once the fade is over: this projection again. Absent: it is unmounted. */
|
|
12789
|
+
rehold?: HeldLoader; /** Removes the frame callback of the fade. */
|
|
12790
|
+
off: () => void;
|
|
12581
12791
|
};
|
|
12582
12792
|
/**
|
|
12583
12793
|
* The veil and the loader a switch showed over the scene being left (spec 33, slices A2 and A3): the node that started
|
|
@@ -12595,10 +12805,50 @@ type Leaving = {
|
|
|
12595
12805
|
* resolved against it.
|
|
12596
12806
|
*/
|
|
12597
12807
|
to: string; /** Landed or dropped: a second end does nothing. */
|
|
12598
|
-
done: boolean;
|
|
12599
|
-
|
|
12808
|
+
done: boolean;
|
|
12809
|
+
/**
|
|
12810
|
+
* The loader projection the switch mounted or showed once its loader was due: unmounted at once at a drop, faded out
|
|
12811
|
+
* with the veil after a land. Absent while it mounted and showed none.
|
|
12812
|
+
*/
|
|
12813
|
+
projection?: string; /** Milliseconds the veil fades out over after the swap, 0 without a veil: a loader shown goes with it. */
|
|
12814
|
+
outMs: number;
|
|
12815
|
+
/**
|
|
12816
|
+
* The loader projection the switch feeds its `SceneSwitch` (F107 part 1), from its start to its swap or drop. Absent
|
|
12817
|
+
* when it feeds none: a ring, a texture, a loader turned off, or a projection another owner shows.
|
|
12818
|
+
*/
|
|
12819
|
+
feeding?: LoaderFeed; /** Removes the abort listener of the switch's node. */
|
|
12600
12820
|
off: () => void;
|
|
12601
12821
|
};
|
|
12822
|
+
/**
|
|
12823
|
+
* One bundle of a switch and how much of it is loaded, in thousandths: 1000 once it is loaded.
|
|
12824
|
+
*/
|
|
12825
|
+
type BundleShare = {
|
|
12826
|
+
/** The bundle. */readonly bundle: string; /** The share of its files settled, in thousandths: 0 to 1000. */
|
|
12827
|
+
share: number;
|
|
12828
|
+
};
|
|
12829
|
+
/**
|
|
12830
|
+
* What a switch feeds its loader projection (F107 part 1): the name, both scenes, the table of its bundles made at the
|
|
12831
|
+
* start, the progress last fed and the one `feed` call of the switch. The hook of `assets:bundle-progress` and the
|
|
12832
|
+
* scene stage, once its loads are in, write the table and feed a new `SceneSwitch` only once the progress grew by 0.01
|
|
12833
|
+
* or reached 1.
|
|
12834
|
+
*/
|
|
12835
|
+
type LoaderFeed = {
|
|
12836
|
+
/** The loader projection. */readonly name: string; /** The scene being left: `from` of every switch fed. */
|
|
12837
|
+
readonly from: string; /** The scene being switched to: `to` of every switch fed. */
|
|
12838
|
+
readonly to: string; /** The bundles the scene being switched to names, one row each, in the order it names them. */
|
|
12839
|
+
readonly bundles: readonly BundleShare[]; /** The progress last fed, in thousandths: the mean of the shares, floored; 1000 with no bundle. */
|
|
12840
|
+
fed: number;
|
|
12841
|
+
/**
|
|
12842
|
+
* Feeds the loader a switch: `world.projection.feed` bound to the name, made once per switch.
|
|
12843
|
+
*
|
|
12844
|
+
* @param sw - The switch, a new object for each new value.
|
|
12845
|
+
*/
|
|
12846
|
+
readonly feed: (sw: SceneSwitch) => void;
|
|
12847
|
+
};
|
|
12848
|
+
/**
|
|
12849
|
+
* The payload of the `assets:bundle-progress` hook: one more file of a running load settled.
|
|
12850
|
+
*/
|
|
12851
|
+
type BundleProgress = Events["assets:bundle-progress"];
|
|
12602
12852
|
/**
|
|
12603
12853
|
* A veil with every field: what a level of `leave` resolves to.
|
|
12604
12854
|
*/
|
|
@@ -13406,6 +13656,8 @@ type Events = {
|
|
|
13406
13656
|
* One more file of a running load settled. `loaded` counts the settled files (a font once, with
|
|
13407
13657
|
* its pages), `total` is the file count of the bundle; the last one of a load has
|
|
13408
13658
|
* `loaded === total` and comes before `assets:bundle-loaded`. An aborted load sends none.
|
|
13659
|
+
* `scenes` listens during a live switch: the share of the switch's bundles loaded is what its
|
|
13660
|
+
* leave loader projection reads as `progress`.
|
|
13409
13661
|
*/
|
|
13410
13662
|
"assets:bundle-progress": {
|
|
13411
13663
|
bundle: string;
|
|
@@ -13728,4 +13980,4 @@ type BundleCompanion = {
|
|
|
13728
13980
|
unload(bundle: string): void;
|
|
13729
13981
|
};
|
|
13730
13982
|
//#endregion
|
|
13731
|
-
export { PixiModule as $,
|
|
13983
|
+
export { PixiModule as $, AnyComponent as $n, RateChange as $r, ShaderWhat as $t, SyncApi as A, TypeTag as An, Json as Ar, PerfChange as At, ShapeValue as B, DescriptionNode as Bn, SnapshotOf as Br, PerfLongFrameLine as Bt, SceneSpec as C, DefineNode as Cn, Config$5 as Cr, PERF_CAUSES as Ct, DebugSwitches as D, NodeTable as Dn, Api$5 as Dr, PassKind as Dt, types_d_exports$1 as E, JournalEntry as En, types_d_exports$5 as Er, PROBLEM_RULES as Et, NineSliceValue as F, Hint as Fn, PlayerStateProvider as Fr, PerfEventLine as Ft, Transform as G, NumericFields as Gn, Config$7 as Gr, PerfStartupLine as Gt, SpriteBlend as H, Motion as Hn, RngApi as Hr, PerfMeasured as Ht, Overlay as I, NodeFx as In, ProviderCall as Ir, PerfEventName as It, AdaptiveScale as J, ReducedMotion as Jn, State$7 as Jr, PoolTrimDetail as Jt, TransformValue as K, ProjectionMotion as Kn, Events$6 as Kr, PerfTelemetryLine as Kt, OverlayValue as L, Answer as Ln, SaveDoc as Lr, PerfGapLine as Lt, HudPart as M, Effect as Mn, State$6 as Mr, PerfCollectorLine as Mt, HudPartValue as N, EffectOptions as Nn, types_d_exports$6 as Nr, PerfCounts as Nt, FilterSlot as O, RouteStep as On, Config$6 as Or, PassRecord as Ot, NineSlice$1 as P, GuideOptions as Pn, Patch as Pr, PerfDisplay as Pt, PixiFilter as Q, ViewHandle as Qn, FrameRate as Qr, ShaderEventDetail as Qt, Parent as R, AnchorTarget as Rn, SaveUnreadableError as Rr, PerfHeaderLine as Rt, SceneDefinition as S, Bookmark as Sn, ClockSource as Sr, OverlayWhat as St, State$1 as T, FlowState as Tn, State$5 as Tr, PERF_LOG_VERSION as Tt, SpriteOptions as U, MotionCause as Un, RngState as Ur, PerfSampleLine as Ut, Sprite as V, Ease as Vn, StoreApi as Vr, PerfMarkLine as Vt, SpriteValue as W, MotionHandle as Wn, Api$6 as Wr, PerfSpikeLine as Wt, Config$2 as X, TrackOptions as Xn, Api$7 as Xr, ProblemRule as Xt, Api$1 as Y, SceneSwitch as Yn, types_d_exports$7 as Yr, ProblemEventDetail as Yt, MonitorConfig as Z, TrackSegment as Zn, Config$8 as Zr, SHADER_WHATS as Zt, AnySceneProjection as _, type as _n, Config$4 as _r, FrameRing as _t, Config as a, Events$8 as ai, EmitterIdOf as an, ComponentValue as ar, types_d_exports$2 as at, Events$1 as b, FeatureTree as bn, types_d_exports$4 as br, MonitorSections as bt, LoadBundles as c, Position as cn, FrameDiff as cr, RenderStats as ct, Manifest as d, types_d_exports$3 as dn, QueryTerm as dr, ViewportSize as dt, State$8 as ei, WarmDetail as en, AnyComponentType as er, PixiSprite as et, ReadyBundles as f, contribution as fn, ResourceType as fr, FilterCache as ft, types_d_exports as g, to as gn, Api$3 as gr, FrameRecord as gt, Usage as h, slot as hn, TagType as hr, FrameReadout as ht, BundleSpec as i, Config$9 as ii, Config$3 as in, ComponentType as ir, Under as it, Display as j, Descriptor as jn, Root as jr, PerfChangeEntry as jt, FilterSlotInputs as k, SceneIdOf as kn, Events$5 as kr, PerfCause as kt, LoadReason as l, State$3 as ln, Mut as lr, Orientation as lt, Tier as m, exit as mn, SystemFor as mr, FrameReadResult as mt, AssetsIo as n, Time as ni, Api$2 as nn, ComponentHandle as nr, PoolTrim as nt, DefineBundles as o, Require as oi, GameTypes as on, Entity as or, Captured as ot, State as p, defineFlow as pn, SystemDefinition as pr, FrameColumns as pt, sprite as q, ProjectionSpec as qn, PauseReason as qr, PerfThermalLine as qt, BundleMap as r, types_d_exports$8 as ri, BundlesOf as rn, ComponentSchema as rr, State$2 as rt, Events as s, HudKeysOf as sn, EntitySnapshot as sr, MonitorCounts as st, Api as t, ThermalReading as ti, DEMAND_REASONS as tn, AnyComponentValue as tr, PixiTexture as tt, LoadResult as u, TextStylesOf as un, Narrowed as ur, Point as ut, Config$1 as v, FeatureDescription as vn, Explained as vr, LongFrameEntry as vt, ScenesApi as w, FlowGraph as wn, FakeClock as wr, PERF_GAP_BUCKETS as wt, LayerMap as x, AnyFlow as xn, Api$4 as xr, OverlayEventDetail as xt, DefineScene as y, FeaturePlugin as yn, State$4 as yr, MONITOR_SECTIONS as yt, Shape as z, ChangeHook as zn, Snapshot as zr, PerfLogLine as zt };
|