@wayward/types 2.11.6-beta.dev.20220428.1 → 2.11.6-beta.dev.20220428.2
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.
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
*/
|
|
11
11
|
export declare enum ScreenId {
|
|
12
12
|
None = 0,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
DedicatedServer = 1,
|
|
14
|
+
Game = 2,
|
|
15
|
+
Interrupt = 3,
|
|
16
|
+
MainMenu = 4,
|
|
17
|
+
Splash = 5
|
|
18
18
|
}
|
|
19
19
|
export declare enum ScreenEvent {
|
|
20
20
|
ShowMenu = "ShowMenu",
|
|
@@ -17,11 +17,11 @@ import SplashScreen from "ui/screen/screens/SplashScreen";
|
|
|
17
17
|
export declare type ExtendsScreen = new () => Screen;
|
|
18
18
|
declare const screenMap: {
|
|
19
19
|
0: undefined;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
4: typeof MainMenuScreen;
|
|
21
|
+
5: typeof SplashScreen;
|
|
22
|
+
3: typeof InterruptScreen;
|
|
23
|
+
2: typeof GameScreen;
|
|
24
|
+
1: typeof DedicatedServerScreen;
|
|
25
25
|
};
|
|
26
26
|
export declare type ScreenById = {
|
|
27
27
|
[ID in keyof typeof screenMap]: (typeof screenMap)[ID] extends new () => infer SCREEN ? SCREEN : never;
|
package/package.json
CHANGED