public async Task <bool> TryNotify(int matchId) { string pathname = "/GameServer/DeleteMatch"; string query = $"?MatchId={matchId.ToString()}&secret={Globals.GameServerSecret}"; return(await httpWrapper.HttpDelete(pathname, query)); }
public async Task <bool> TryNotify(PlayerDeathData playerDeathData) { string pathname = "/GameServer/PlayerDeath"; string query = $"?accountId={playerDeathData.PlayerAccountId}" + $"&placeInBattle={playerDeathData.PlaceInBattle}" + $"&MatchId={playerDeathData.MatchId}" + $"&secret={Globals.GameServerSecret}"; return(await httpWrapper.HttpDelete(pathname, query)); }