Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
multiplayer/matchmaking/Matchmaking
Matchmaking
Class Matchmaking
Hierarchy
Matchmaking
Implements
IMatchmaking
Index
Constructors
constructor
Accessors
channel
identifier
is
Connected
Methods
connect
disconnect
send
Constructors
constructor
new
Matchmaking
(
info
:
IMatchmakingInfo
, onConnected
:
(
(
matchmaking
:
IMatchmaking
)
=>
void
)
, onCloseOrError
:
(
(
matchmaking
:
IMatchmaking
)
=>
void
)
, onMessage
:
(
(
matchmaking
:
IMatchmaking
, message
:
ArrayBuffer
|
MatchmakingMessageData
)
=>
Promise
<
void
>
)
)
:
Matchmaking
Parameters
info:
IMatchmakingInfo
onConnected:
(
(
matchmaking
:
IMatchmaking
)
=>
void
)
(
matchmaking
:
IMatchmaking
)
:
void
Parameters
matchmaking:
IMatchmaking
Returns
void
onCloseOrError:
(
(
matchmaking
:
IMatchmaking
)
=>
void
)
(
matchmaking
:
IMatchmaking
)
:
void
Parameters
matchmaking:
IMatchmaking
Returns
void
onMessage:
(
(
matchmaking
:
IMatchmaking
, message
:
ArrayBuffer
|
MatchmakingMessageData
)
=>
Promise
<
void
>
)
(
matchmaking
:
IMatchmaking
, message
:
ArrayBuffer
|
MatchmakingMessageData
)
:
Promise
<
void
>
Parameters
matchmaking:
IMatchmaking
message:
ArrayBuffer
|
MatchmakingMessageData
Returns
Promise
<
void
>
Returns
Matchmaking
Accessors
channel
get
channel
(
)
:
string
Returns
string
identifier
get
identifier
(
)
:
string
Returns
string
is
Connected
get
isConnected
(
)
:
boolean
Returns
boolean
Methods
connect
connect
(
)
:
void
Returns
void
disconnect
disconnect
(
)
:
void
Returns
void
send
send
(
data
:
Uint8Array
|
ArrayBuffer
|
MatchmakingMessageData
, channel
?:
string
)
:
void
Parameters
data:
Uint8Array
|
ArrayBuffer
|
MatchmakingMessageData
Optional
channel:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Navigation
Modding Guide
Module Index
Common Modules
@Register
IDoodadDescription
IItemDescription
ITerrainDescription
ITileEventDescription
ICreatureDescription
In This Module
Matchmaking
constructor
channel
identifier
is
Connected
connect
disconnect
send
Generated using
TypeDoc