Skip to content

Commit

Permalink
Add missing tournament override fn reference tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sesposito committed Sep 16, 2024
1 parent 5d71edf commit 4bd7dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/runtime_go_nakama.go
Original file line number Diff line number Diff line change
Expand Up @@ -2445,7 +2445,6 @@ func (n *RuntimeGoNakamaModule) LeaderboardRecordsList(ctx context.Context, id s
}
}


var limitWrapper *wrapperspb.Int32Value
if limit < 0 || limit > 10000 {
return nil, nil, "", "", errors.New("expects limit to be 0-10000")
Expand Down Expand Up @@ -2905,6 +2904,7 @@ func (n *RuntimeGoNakamaModule) TournamentRecordsList(ctx context.Context, tourn
// @param score(type=int64) The score to submit.
// @param subscore(type=int64, optional=true) A secondary subscore parameter for the submission.
// @param metadata(type=map[string]interface{}, optional=true) The metadata you want associated to this submission. Some good examples are weather conditions for a racing game.
// @param overrideOperator(type=*int) An override operator for the new record. The accepted values include: 0 (no override), 1 (best), 2 (set), 3 (incr), 4 (decr). Passing nil is the same as passing a pointer to 0 (no override), which uses the default leaderboard operator.
// @return result(*api.LeaderboardRecord) The newly created leaderboard record.
// @return error(error) An optional error value if an error occurred.
func (n *RuntimeGoNakamaModule) TournamentRecordWrite(ctx context.Context, id, ownerID, username string, score, subscore int64, metadata map[string]interface{}, overrideOperator *int) (*api.LeaderboardRecord, error) {
Expand Down

0 comments on commit 4bd7dfd

Please sign in to comment.