@overlayed/app 1.3.15 → 1.5.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/dist/index.d.mts CHANGED
@@ -351,14 +351,17 @@ type NoticeId = NoticeModel["id"];
351
351
  //#region src/managers/gameLaunchManager.d.ts
352
352
  type GameReadyEvent = {
353
353
  game: string;
354
+ processId: number;
354
355
  inGameRenderingSupported: boolean;
355
356
  };
356
357
  type GameLaunchEvent = {
357
358
  game: GameIdentifier;
359
+ processId: number;
358
360
  reject: () => void;
359
361
  };
360
362
  type GameCloseEvent = {
361
363
  game: GameIdentifier;
364
+ processId: number;
362
365
  };
363
366
  type GameLaunchManagerEvents = {
364
367
  gameLaunch: (args: GameLaunchEvent) => MaybePromise<boolean>;
@@ -397,12 +400,14 @@ declare function module(): {
397
400
  readonly key: "universal";
398
401
  readonly events: import("arktype").Module<{
399
402
  event: {
400
- game: "siege" | "tft";
401
- type: "module_loaded";
403
+ game: "sand";
404
+ type: "logged_in";
402
405
  creation_time: number;
403
406
  content: {
404
- game_version: string;
405
- process_hash: string;
407
+ account_id: string;
408
+ display_name: string;
409
+ platform_id: string;
410
+ playfab_id: string;
406
411
  };
407
412
  } | {
408
413
  game: "siege" | "tft";
@@ -412,11 +417,19 @@ declare function module(): {
412
417
  account_id: string;
413
418
  };
414
419
  } | {
415
- game: "siege" | "tft";
420
+ game: "sand" | "siege" | "tft";
421
+ type: "module_loaded";
422
+ creation_time: number;
423
+ content: {
424
+ game_version: string;
425
+ process_hash: string;
426
+ };
427
+ } | {
428
+ game: "sand" | "siege" | "tft";
416
429
  type: "module_unloaded";
417
430
  creation_time: number;
418
431
  } | {
419
- game: "siege" | "tft";
432
+ game: "sand" | "siege" | "tft";
420
433
  type: "unsupported_game_version";
421
434
  creation_time: number;
422
435
  content: {
@@ -425,6 +438,16 @@ declare function module(): {
425
438
  };
426
439
  };
427
440
  logged_in: {
441
+ game: "sand";
442
+ type: "logged_in";
443
+ creation_time: number;
444
+ content: {
445
+ account_id: string;
446
+ display_name: string;
447
+ platform_id: string;
448
+ playfab_id: string;
449
+ };
450
+ } | {
428
451
  game: "siege" | "tft";
429
452
  type: "logged_in";
430
453
  creation_time: number;
@@ -433,7 +456,7 @@ declare function module(): {
433
456
  };
434
457
  };
435
458
  module_loaded: {
436
- game: "siege" | "tft";
459
+ game: "sand" | "siege" | "tft";
437
460
  type: "module_loaded";
438
461
  creation_time: number;
439
462
  content: {
@@ -442,12 +465,12 @@ declare function module(): {
442
465
  };
443
466
  };
444
467
  module_unloaded: {
445
- game: "siege" | "tft";
468
+ game: "sand" | "siege" | "tft";
446
469
  type: "module_unloaded";
447
470
  creation_time: number;
448
471
  };
449
472
  unsupported_game_version: {
450
- game: "siege" | "tft";
473
+ game: "sand" | "siege" | "tft";
451
474
  type: "unsupported_game_version";
452
475
  creation_time: number;
453
476
  content: {
@@ -1054,11 +1077,11 @@ type OverlayedApp<TModule extends GameModule, TKeybind extends string, TFeatureF
1054
1077
  crashDumps: OverlayedAppCrashDumpsModule;
1055
1078
  featureFlags: OverlayedAppFeatureFlagModule<TFeatureFlag>;
1056
1079
  /**
1057
- * Returns true if any monitored processes are running.
1080
+ * Returns true if any monitored game is running, whether or not it has become ready.
1058
1081
  *
1059
1082
  * Useful for stopping the overlay from updating when the game is running.
1060
1083
  *
1061
- * @returns True if any monitored processes are running.
1084
+ * @returns True if any monitored game is running.
1062
1085
  */
1063
1086
  hasAnyActiveProcesses: () => boolean;
1064
1087
  /**