@wayward/types 2.14.2-beta.dev.20241220.1 → 2.14.2-beta.dev.20241221.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.
@@ -10,7 +10,8 @@
10
10
  */
11
11
  import Bindable from "@wayward/game/ui/input/Bindable";
12
12
  import { IInput } from "@wayward/game/ui/input/IInput";
13
- import type { GlobalInputInfo, GlobalMouseInfo, InputInfo } from "@wayward/game/ui/input/InputManager";
13
+ import type { GlobalInputInfo, GlobalMouseInfo } from "@wayward/game/ui/input/InputManager";
14
+ import { InputInfo } from "@wayward/game/ui/input/InputManager";
14
15
  import type { Macro } from "@wayward/game/ui/input/Macros";
15
16
  import type { TypedPropertyDescriptorFunctionAnyNOfParams } from "@wayward/utilities/event/EventManager";
16
17
  export interface IBindHandlerApi {
@@ -156,6 +157,7 @@ declare namespace Bind {
156
157
  function deregisterHandlers(host: any): void;
157
158
  const shouldLogHoldingEvent = false;
158
159
  function emitEvent(event: BindingEventName, input: IInput, info: InputInfo, mouse: GlobalMouseInfo, globalInput: GlobalInputInfo): Set<Bindable>;
160
+ function handleMaybeNothingPressed(input: GlobalInputInfo, mouse: GlobalMouseInfo): void;
159
161
  namespace Modifiers {
160
162
  /**
161
163
  * Registers a handler for when the modifiers of the given `Bindable` are pressed. This event won't be fired again until the modifiers of the `Bindable` are then *released*.
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.14.2-beta.dev.20241220.1",
4
+ "version": "2.14.2-beta.dev.20241221.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",