Crate bones_matchmaker_proto

Crate bones_matchmaker_proto 

Source
Expand description

Network protocol structs for the Bones matchmaker.

Structs§

LobbyId
A unique identifier for a lobby
LobbyInfo
Information about a lobby
LobbyListItem
Information about a lobby for the lobby list
MatchInfo
Information about a match that is being requested
RecvProxyMessage
The format of a message forwarded by the proxy to a client.
SendProxyMessage
The format of a message sent by a client to the proxy, so the proxy can send it to another client.

Enums§

MatchmakerRequest
Requests that may be made in matchmaking mode
MatchmakerResponse
Responses that may be returned in matchmaking mode
PlayerIdxAssignment
Choose how player_idx should be assigned to each player who joins a match/lobby.
TargetClient
The client to send a network message to.

Constants§

MATCH_ALPN
ALPN used for the matchmaking protocol.
PLAY_ALPN
ALPN used for the direct connections between players.

Type Aliases§

GameID
A unique identifier for a game