babylonjs-toolkit 9.34.0 → 9.34.1
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/lib/babylon.toolkit.d.ts +8 -2
- package/lib/babylon.toolkit.js +1 -1
- package/lib/index.d.ts +8 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare namespace TOOLKIT {
|
|
|
7
7
|
* @class SceneManager - All rights reserved (c) 2024 Mackey Kinard
|
|
8
8
|
*/
|
|
9
9
|
class SceneManager {
|
|
10
|
-
/** Gets the toolkit framework version string (9.
|
|
10
|
+
/** Gets the toolkit framework version string (9.34.1 - R1) */
|
|
11
11
|
static get Version(): string;
|
|
12
12
|
/** Gets the toolkit framework copyright notice */
|
|
13
13
|
static get Copyright(): string;
|
|
@@ -55195,7 +55195,7 @@ declare namespace TOOLKIT {
|
|
|
55195
55195
|
persisted: boolean | null;
|
|
55196
55196
|
/** Total wire bytes of every group of every root, the app shell's group included (D23). */
|
|
55197
55197
|
totalBytes: number;
|
|
55198
|
-
/** Wire bytes of
|
|
55198
|
+
/** Wire bytes of every stored file of the active versions, each hash once (a partly stored group counts too). */
|
|
55199
55199
|
installedBytes: number;
|
|
55200
55200
|
/** True when every group of every root (the app shell's included, D23) is installed. */
|
|
55201
55201
|
everythingInstalled: boolean;
|
|
@@ -55358,6 +55358,10 @@ declare namespace TOOLKIT {
|
|
|
55358
55358
|
private static roots;
|
|
55359
55359
|
/** Every hash in the files cache, as this page last saw it. */
|
|
55360
55360
|
private static storedHashes;
|
|
55361
|
+
/** The pending totals update of files stored outside a finished group, or null. */
|
|
55362
|
+
private static totalsUpdateTimer;
|
|
55363
|
+
/** The shortest time between totals updates of files stored one by one, in milliseconds. */
|
|
55364
|
+
private static readonly TOTALS_UPDATE_INTERVAL_MS;
|
|
55361
55365
|
/** Groups listing each hash in the active manifests (D32). */
|
|
55362
55366
|
private static groupsByHash;
|
|
55363
55367
|
/** Downloads waiting to start, in run order: player jobs first, then background jobs. */
|
|
@@ -56299,6 +56303,8 @@ declare namespace TOOLKIT {
|
|
|
56299
56303
|
* @returns The state (base URL, shell flag and policy are set by loadRoot).
|
|
56300
56304
|
*/
|
|
56301
56305
|
private static createRootState;
|
|
56306
|
+
/** Updates the totals soon, at most once per TOTALS_UPDATE_INTERVAL_MS: files a race stores arrive one by one, often while the game is busy. */
|
|
56307
|
+
private static scheduleTotalsUpdate;
|
|
56302
56308
|
/** Recomputes the totals and update fields of the state from the roots. */
|
|
56303
56309
|
private static updateTotalsState;
|
|
56304
56310
|
/**
|