[DiscordArchive] <@200677690838220800> would it be an overkill to create a struct called PrioritizedTarget which cont
[DiscordArchive] <@200677690838220800> would it be an overkill to create a struct called PrioritizedTarget which cont
Archived author: Telegrill • Posted: 2025-07-10T17:28:09.783000+00:00
Original source
<@200677690838220800> would it be an overkill to create a struct called PrioritizedTarget which contains a pointer to each unit and their score, plus a bool operator<(const PrioritizedTarget& other) rather than using a plain std::vector<std::pair<WorldObject*, int32>, and then an outside function for ShuffleTieRange all within a given namespace called PriorityHelpers?