Marks the current lobby as ready to accept connections. Players will not be able to connect to this lobby until the lobby is flagged as ready.
Use a bare-bones client and the command you need to make an API call.
import { MatchmakerServiceClient, LobbyReadyCommand } from "@rivet-gg/matchmaker"; // ES Modules import // const { MatchmakerServiceClient, LobbyReadyCommand } = require("@rivet-gg/matchmaker"); // CommonJS import const client = new MatchmakerServiceClient(config); const command = new LobbyReadyCommand(input); const response = await client.send(command);
LobbyReadyCommandInput for command's input shape.
input
LobbyReadyCommandOutput for command's response shape.
response
config for MatchmakerServiceClient's config shape.
config
Marks the current lobby as ready to accept connections. Players will not be able to connect to this lobby until the lobby is flagged as ready.
Use a bare-bones client and the command you need to make an API call.
import { MatchmakerServiceClient, LobbyReadyCommand } from "@rivet-gg/matchmaker"; // ES Modules import // const { MatchmakerServiceClient, LobbyReadyCommand } = require("@rivet-gg/matchmaker"); // CommonJS import const client = new MatchmakerServiceClient(config); const command = new LobbyReadyCommand(input); const response = await client.send(command);LobbyReadyCommandInput for command's
inputshape.LobbyReadyCommandOutput for command's
responseshape.config for MatchmakerServiceClient's
configshape.