KcdMp.census
The entity classes of the level with the most instances.
Syntax
Section titled “Syntax”KcdMp.census(top)| Parameter | Type | |
|---|---|---|
top |
number | how many classes to list |
Returns
Section titled “Returns”number, string - total, list - the number of entities and a string "Class n, Class n, ..." of the top most common
Example
Section titled “Example”local total, list = KcdMp.census(5)System.LogAlways(string.format("[KcdMp] %d entities: %s", total, list))See also
Section titled “See also”KcdMp.count · the Helpers group of the index
