The full enumeration. EG: ItemType, CreatureType, DoodadType, etc
The random instance to use. Defaults to seeded random. Note that using this method in non-game locations may cause seed desyncs!
Optional
filter: ((value: T[keyof T], index: number) => boolean)Repeats the choice until the random value matches the filter
Generated using TypeDoc
Returns a random enum entry.