By default, the response doesn’t include the scores of the event leaderboards. To have the response returning with the scores, set the boolean with_scores on the request to true.
varfill_request=Hiro.EventLeaderboardDebugFillRequest.new()fill_request.id="leaderboard_1"fill_request.target_count=50# Optional target cohort size to fill to, otherwise fill to the max cohort size.varscores_request=Hiro.EventLeaderboardDebugRandomScoresRequest.new()scores_request.id="leaderboard_1"scores_request.min="1"scores_request.max="100"scores_request.subscore_min="1"scores_request.subscore_max="100"# Fills cohort with debug playersvarfill_leaderboard=awaithiro.eventLeaderboardDebugFill(session,fill_request)print(fill_leaderboard)# Sets randomly generated scores between a range for other players (does not change the user's score)varscores_leaderboard=awaithiro.eventLeaderboardDebugRandomScores(session,scores_request)print(scores_leaderboard)# Removes user from their current cohort, allowing re-enrollmentvarunenroll_request=Hiro.EventLeaderboardDebugUnenrollRequest.new()unenroll_request.id="leaderboard_1"varunenroll_leaderboard=awaithiro.eventLeaderboardDebugUnenroll(session,unenroll_request)print(unenroll_leaderboard)