@wayward/types 2.11.6-beta.dev.20220426.1 → 2.11.6-beta.dev.20220428.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.
|
@@ -149,6 +149,7 @@ export interface IMultiplayerNetworkingOptions {
|
|
|
149
149
|
keepAliveTimeout: number;
|
|
150
150
|
steamNetworkingConnectionWebRTCFallbackInitialTimeout: number;
|
|
151
151
|
steamNetworkingConnectionWebRTCFallbackDownloadingTimeout: number;
|
|
152
|
+
webSocketConnectionMaxMessageSize: number;
|
|
152
153
|
}
|
|
153
154
|
export declare type ServerInfo = string | IMatchmakingInfo;
|
|
154
155
|
export declare enum PacketAcceptType {
|
|
@@ -15,7 +15,7 @@ export declare class WebSocketConnection extends Connection {
|
|
|
15
15
|
private readonly onData;
|
|
16
16
|
private readonly onConnected?;
|
|
17
17
|
name: string;
|
|
18
|
-
|
|
18
|
+
get maxMessageSize(): number;
|
|
19
19
|
constructor(matchmakingInfo: IMatchmakingInfo | undefined, matchmakingIdentifier: string, getMatchmaking: () => IMatchmaking | undefined, onData: (data: ArrayBuffer) => void, onConnected?: ((matchmakingInfo: IMatchmakingInfo) => void) | undefined);
|
|
20
20
|
isConnected(): boolean;
|
|
21
21
|
protected onClosing(): void;
|
|
@@ -14,6 +14,7 @@ import type { IMessage } from "game/entity/player/IMessageManager";
|
|
|
14
14
|
import type Player from "game/entity/player/Player";
|
|
15
15
|
import type { RequirementInstance } from "game/entity/player/quest/quest/Quest";
|
|
16
16
|
import type { QuestInstance } from "game/entity/player/quest/QuestManager";
|
|
17
|
+
import type { Game } from "game/Game";
|
|
17
18
|
import Button from "ui/component/Button";
|
|
18
19
|
import Component from "ui/component/Component";
|
|
19
20
|
import type { ContextMenuDescriptions } from "ui/component/ContextMenu";
|
|
@@ -70,6 +71,7 @@ export default class Messages extends QuadrantComponent {
|
|
|
70
71
|
sendPinnedMessage(pinnedMessage: PinnedMessage): PinnedMessage;
|
|
71
72
|
pinQuestRequirement(quest: QuestInstance, requirement?: RequirementInstance): IPinnedMessage | undefined;
|
|
72
73
|
unpinMessage(pinnedMessage: PinnedMessage, time?: number): Promise<void>;
|
|
74
|
+
protected onPlay(game: Game, isLoadingSave: boolean): void;
|
|
73
75
|
onDisplayMessage(player: Player, message: IMessage): void;
|
|
74
76
|
onWrittenNote(player: Player, id: number): void;
|
|
75
77
|
onReadNote(player: Player, id: number): void;
|
package/package.json
CHANGED