@wayward/types 2.11.5-beta.dev.20220309.2 → 2.11.5-beta.dev.20220312.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.
@@ -13,7 +13,8 @@ export declare enum ScreenId {
13
13
  Game = 1,
14
14
  Interrupt = 2,
15
15
  MainMenu = 3,
16
- Splash = 4
16
+ Splash = 4,
17
+ DedicatedServer = 5
17
18
  }
18
19
  export declare enum ScreenEvent {
19
20
  ShowMenu = "ShowMenu",
@@ -9,6 +9,7 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import type Screen from "ui/screen/Screen";
12
+ import DedicatedServerScreen from "ui/screen/screens/DedicatedServerScreen";
12
13
  import GameScreen from "ui/screen/screens/GameScreen";
13
14
  import InterruptScreen from "ui/screen/screens/InterruptScreen";
14
15
  import MainMenuScreen from "ui/screen/screens/MainMenuScreen";
@@ -20,6 +21,7 @@ declare const screenMap: {
20
21
  4: typeof SplashScreen;
21
22
  2: typeof InterruptScreen;
22
23
  1: typeof GameScreen;
24
+ 5: typeof DedicatedServerScreen;
23
25
  };
24
26
  export declare type ScreenById = {
25
27
  [ID in keyof typeof screenMap]: (typeof screenMap)[ID] extends new () => infer SCREEN ? SCREEN : never;
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Copyright 2011-2021 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import Screen from "ui/screen/Screen";
12
+ export default class DedicatedServerScreen extends Screen {
13
+ constructor();
14
+ onShow(): void;
15
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.11.5-beta.dev.20220309.2",
4
+ "version": "2.11.5-beta.dev.20220312.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",