joinTournament method
Joining tournaments
By default in Nakama players don’t have to join tournaments before they can submit a score. You can force it in server side code.
Implementation
@override
Future<void> joinTournament({
required model.Session session,
required String tournamentId,
}) async {
await _client.joinTournament(
api.JoinTournamentRequest(
tournamentId: tournamentId,
),
options: _getSessionCallOptions(session),
);
}