@wayward/types 2.11.2-beta.dev.20220111.1 → 2.11.3-beta.dev.20220112.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.
|
@@ -141,7 +141,8 @@ export interface IMultiplayerNetworkingOptions {
|
|
|
141
141
|
connectionTimeout: number;
|
|
142
142
|
keepAliveInterval: number;
|
|
143
143
|
keepAliveTimeout: number;
|
|
144
|
-
|
|
144
|
+
steamNetworkingConnectionWebRTCFallbackInitialTimeout: number;
|
|
145
|
+
steamNetworkingConnectionWebRTCFallbackDownloadingTimeout: number;
|
|
145
146
|
}
|
|
146
147
|
export declare type ServerInfo = string | IMatchmakingInfo;
|
|
147
148
|
export declare enum PacketAcceptType {
|
|
@@ -148,6 +148,7 @@ export default class Multiplayer extends EventEmitter.Host<IMultiplayerEvents> {
|
|
|
148
148
|
private addDefaultSyncChecks;
|
|
149
149
|
private getPacketSyncChecks;
|
|
150
150
|
private clearJoinServerRetryTimeout;
|
|
151
|
+
createOrExtendSteamNetworkConnectionWebRTCFallbackTimer(timeoutTime: number): void;
|
|
151
152
|
clearSteamNetworkConnectionWebRTCFallbackTimer(): void;
|
|
152
153
|
private startMatchmakingServer;
|
|
153
154
|
private stopMatchmakingServer;
|
|
@@ -18,7 +18,7 @@ export declare class SteamNetworkConnection extends Connection {
|
|
|
18
18
|
private readonly onConnected?;
|
|
19
19
|
private readonly connectGlobalMatchmakingServer?;
|
|
20
20
|
name: string;
|
|
21
|
-
readonly maxMessageSize =
|
|
21
|
+
readonly maxMessageSize = 65536;
|
|
22
22
|
private _processIntervalId;
|
|
23
23
|
private _checkSessionStateIntervalId;
|
|
24
24
|
constructor(steamNetworking: ISteamworksNetworking, hostSteamId: string, matchmakingInfo: IMatchmakingInfo | undefined, matchmakingIdentifier: string, onData: (data: ArrayBuffer) => void, onConnected?: ((matchmakingInfo: IMatchmakingInfo) => void) | undefined, connectGlobalMatchmakingServer?: (() => void) | undefined);
|
|
@@ -8,6 +8,6 @@
|
|
|
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
|
-
export declare const gameVersionStage = "beta", gameVersionMajor = 2, gameVersionMinor = 11, gameVersionPatch =
|
|
11
|
+
export declare const gameVersionStage = "beta", gameVersionMajor = 2, gameVersionMinor = 11, gameVersionPatch = 3, gameVersionName = "Horizons";
|
|
12
12
|
export declare const gameVersion: string;
|
|
13
13
|
export declare function registerGlobals(globalObject: any): void;
|
package/package.json
CHANGED