Skip to content

Commit

Permalink
Add cohort creation force flag for event leaderboards custom matching.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro committed Oct 1, 2024
1 parent 8da2b6a commit 0dd8d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event_leaderboards.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ type EventLeaderboardsSystem interface {
DebugRandomScores(ctx context.Context, logger runtime.Logger, nk runtime.NakamaModule, userID, eventLeaderboardID string, scoreMin, scoreMax, subscoreMin, subscoreMax int64, operator *int) (eventLeaderboard *EventLeaderboard, err error)
}

type OnEventLeaderboardCohortSelection func(ctx context.Context, logger runtime.Logger, nk runtime.NakamaModule, storageIndex string, eventID string, config *EventLeaderboardsConfigLeaderboard, userID string, tier int, matchmakerProperties map[string]interface{}) (cohortID string, cohortUserIDs []string, err error)
type OnEventLeaderboardCohortSelection func(ctx context.Context, logger runtime.Logger, nk runtime.NakamaModule, storageIndex string, eventID string, config *EventLeaderboardsConfigLeaderboard, userID string, tier int, matchmakerProperties map[string]interface{}) (cohortID string, cohortUserIDs []string, forceNewCohort bool, err error)

0 comments on commit 0dd8d14

Please sign in to comment.