Class PlaytestCatalog
- Namespace
- SurvivorsMaker.Presentation
- Assembly
- SurvivorsMaker.Presentation.dll
What the playtest panel offers from the run content, and the search filter of its pickers.
public static class PlaytestCatalog
- Inheritance
-
PlaytestCatalog
- Inherited Members
Methods
Enemies(RunState, List<string>)
Enemy ids the run can spawn, in first-seen order: the run's arena, then every content arena (wave and common groups, hordes), following death spawns and summons. The same set the playtest spawn command accepts.
public static void Enemies(RunState run, List<string> into)
Parameters
Filter(IReadOnlyList<PlaytestEntry>, string, int, List<PlaytestEntry>)
Entries whose name or id contains query (case-insensitive; empty = all), in their order,
at most max. Returns the total match count, including matches beyond the output capacity.
public static int Filter(IReadOnlyList<PlaytestEntry> entries, string query, int max, List<PlaytestEntry> into)
Parameters
entriesIReadOnlyList<PlaytestEntry>querystringmaxintintoList<PlaytestEntry>
Returns
Items(RunContent, List<string>)
Every item and upgrade in content order.
public static void Items(RunContent content, List<string> into)
Parameters
contentRunContentintoList<string>
ParseCount(string, int, int, int)
A whole number from a text field, or fallback.
public static int ParseCount(string text, int fallback, int min, int max)
Parameters
Returns
Weapons(RunContent, List<string>)
Every weapon in content order, including locked ones (cheats ignore unlocks).
public static void Weapons(RunContent content, List<string> into)
Parameters
contentRunContentintoList<string>