Skip to content

Let TaloLeaderboardEntriesManager.get_entries() return Array[TaloLeaderboardEntry].#78

Closed
Daylily-Zeleen wants to merge 1 commit into
TaloDev:developfrom
Daylily-Zeleen:Array-TaloLeaderboardEntry-
Closed

Let TaloLeaderboardEntriesManager.get_entries() return Array[TaloLeaderboardEntry].#78
Daylily-Zeleen wants to merge 1 commit into
TaloDev:developfrom
Daylily-Zeleen:Array-TaloLeaderboardEntry-

Conversation

@Daylily-Zeleen
Copy link
Copy Markdown
Contributor

A part of #70 .

for idx in range(entry.position, _current_entries[internal_name].size()):
_current_entries[internal_name][idx].position = idx
for idx in range(entry.position, named_entries.size()):
named_entries[idx].position = idx
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right now this actually doesn't return any entries. you need to add _current_entries[internal_name] = named_entries to update _current_entries with the latest changes to named_entries.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Daylily-Zeleen just wanted to check you saw this comment?

@tudddorrr tudddorrr added the enhancement New feature or request label Feb 27, 2025
@tudddorrr
Copy link
Copy Markdown
Contributor

Thanks for this, closing in favour of #94

@tudddorrr tudddorrr closed this Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants