mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:43:20 +08:00
Document simulation
This commit is contained in:
parent
7e800659aa
commit
6b198ce112
@ -67,6 +67,10 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match.Playlist
|
|||||||
|
|
||||||
List<Drawable> result = new List<Drawable>();
|
List<Drawable> result = new List<Drawable>();
|
||||||
|
|
||||||
|
// Run a simulation...
|
||||||
|
// In every iteration, pick the first available item from the user with the lowest number of items in the queue to add to the result set.
|
||||||
|
// If multiple users have the same number of items in the queue, then the item with the lowest ID is chosen.
|
||||||
|
// Todo: This could probably be more efficient, likely at the cost of increased complexity.
|
||||||
while (totalCount-- > 0)
|
while (totalCount-- > 0)
|
||||||
{
|
{
|
||||||
var candidateItem = allItems
|
var candidateItem = allItems
|
||||||
|
Loading…
Reference in New Issue
Block a user