In a standard match, a player can press a "surrender" button from 15 minutes onwards (earlier in Brawl modes or under special team AFK conditions).
The team can then vote to surrender. With three :heavy_check_mark: (100%), the vote passes immediately. Recently, SEMC introduced a rule that allows the vote to pass with two :heavy_check_mark: (66%) after the fifth attempt at the vote.
The API has match.attributes.stats.endGameReason "surrender" in such a case, and the roster that lost will have won "false", so in the 100% case it can be inferred whether a participant voted for surrender.
In the 66% case, it is not possible. Plus, the attribute should not need to be inferred. I'm suggesting:
In a standard match, a player can press a "surrender" button from 15 minutes onwards (earlier in Brawl modes or under special team AFK conditions). The team can then vote to surrender. With three :heavy_check_mark: (100%), the vote passes immediately. Recently, SEMC introduced a rule that allows the vote to pass with two :heavy_check_mark: (66%) after the fifth attempt at the vote.
The API has
match.attributes.stats.endGameReason
"surrender" in such a case, and the roster that lost will havewon
"false", so in the 100% case it can be inferred whether a participant voted for surrender.In the 66% case, it is not possible. Plus, the attribute should not need to be inferred. I'm suggesting: