list_subclasses
Enumerate all loaded classes derived from a specified base class, including Blueprint classes, with optional name pattern and limit filters.
Instructions
Every loaded class derived from a base class, Blueprint classes included.
ref is a class path ('/Script/Engine.PlayerController'); passing an object that is not a Class or BlueprintGeneratedClass raises. The base itself is excluded. pattern is an optional Lua pattern matched against the short name.
Returns {base, count, types}, where count is the number of matches before limit and each
row is {name, kind, path, parent} with parent the immediate super class's short name. Rows
are sorted by path. The engine keeps no reverse index, so this walks every UObject and
tests IsChildOf: about 1.5 s on a large game.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| limit | No | ||
| pattern | No |