From modwiki
The spawn class is the C++ class in the game code that defines an entities logic.
Spawn classes use single inheritance with idEntity being the lowest level that can be spawned.
The spawn class is defined by the "spawnclass" key in an entities spawnArgs.