sendMatchForfeit
sendMatchForfeit(
world,isVoting?):Promise<SettledCommandResult<CommandHandle<{isVoting:BooleanCommandField;serial:NumberCommandField; },NotInMatch|ForfeitOff,undefined,false,false,"forfeit",false,true>>>
Asks the room to count this page’s player’s vote to forfeit, or take it back.
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
world |
World |
undefined |
isVoting |
boolean |
true |
Returns
Section titled “Returns”Promise<SettledCommandResult<CommandHandle<{ isVoting: BooleanCommandField; serial: NumberCommandField; }, NotInMatch | ForfeitOff, undefined, false, false, "forfeit", false, true>>>