sendMatchReady
sendMatchReady(
world,isReady?):Promise<SettledCommandResult<CommandHandle<{isReady:BooleanCommandField;serial:NumberCommandField; },NotWaiting|NotInMatch,undefined,false,false,"ready",false,true>>>
Asks the room to mark this page’s player ready, or not, for the
player’s match’s readyCheck.
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
world |
World |
undefined |
isReady |
boolean |
true |
Returns
Section titled “Returns”Promise<SettledCommandResult<CommandHandle<{ isReady: BooleanCommandField; serial: NumberCommandField; }, NotWaiting | NotInMatch, undefined, false, false, "ready", false, true>>>