EndCompetitiveMatchOptions
How endMatch ends a match of teams or a free-for-all: its winner.
Properties
Section titled “Properties”| Property | Type | Default value | Description |
|---|---|---|---|
outcome? |
undefined |
undefined |
- |
reason? |
string |
"" |
Why, as useMatch() reads it back. |
winner |
PlayerEntity | Team | null |
undefined |
The side that won, a team, or in a free-for-all a member; null for a draw. |