@wayward/types 2.11.0-beta.dev.20211123.2 → 2.11.0-beta.dev.20211124.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.
|
@@ -177,6 +177,7 @@ export default class Steamworks extends EventEmitter.Host<ISteamworksEvents> {
|
|
|
177
177
|
* Called when a networking messages session fails
|
|
178
178
|
*/
|
|
179
179
|
private onSteamNetworkingMessagesSessionFailed;
|
|
180
|
+
setSteamNetworkingSendRates(min: number, max: number): void;
|
|
180
181
|
/**
|
|
181
182
|
* Insanely expensive to do and it's possible for it to cause crashes
|
|
182
183
|
*/
|
|
@@ -8,13 +8,13 @@
|
|
|
8
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
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
+
import type Component from "ui/component/Component";
|
|
11
12
|
export declare class ScrollableHandler {
|
|
12
13
|
private readonly id;
|
|
13
14
|
private readonly elementRef;
|
|
14
|
-
get element(): HTMLElement;
|
|
15
|
+
get element(): HTMLElement | undefined;
|
|
15
16
|
constructor(element: HTMLElement, id: string);
|
|
16
|
-
watchAnimations(): void;
|
|
17
|
-
watchTransitions(): void;
|
|
17
|
+
watchAnimations(parent: Component): void;
|
|
18
18
|
private onAnimationStart;
|
|
19
19
|
private onAnimationEnd;
|
|
20
20
|
}
|
|
@@ -104,6 +104,7 @@ export interface ISteamworksNetworking {
|
|
|
104
104
|
setSteamNetworkingMessagesSessionRequestCallback(callback: (steamIdRemote: string) => void): void;
|
|
105
105
|
setSteamNetworkingMessagesSessionFailedCallback(callback: (steamIdRemote: string, state: SteamNetworkingConnectionState, endReason: number) => void): void;
|
|
106
106
|
setSteamNetworkingConnectionStatusCallback(callback: (steamIdRemote: string, state: SteamNetworkingConnectionState, endReason: number, oldState: SteamNetworkingConnectionState) => void): void;
|
|
107
|
+
setSteamNetworkingSendRates(min: number, max: number): void;
|
|
107
108
|
setSteamNetworkingDebugCallback(callback: (type: number, message: string) => void): void;
|
|
108
109
|
}
|
|
109
110
|
export interface ISteamFriend {
|
package/package.json
CHANGED