swiftlys2/docs/api/ai/

Entity Data

versions

What is entity data?

Every spawnable Source 2 entity class has a data description: its Hammer inputs, outputs, and keyvalue members, plus its registered think functions. This is what maps entity-tool fields to the actual schema members backing them at runtime.

What can you find here?

Look up any class with a data description. Members show their keyvalue name and type, and link straight to the backing schema field. Inputs show their handler signature, outputs show the fireable output name, and think functions list the class's registered callbacks.

Members & CEntityKeyValues

Members are what CEntityKeyValues uses to set schema fields by name - the same lookup Hammer entity properties and SwiftlyS2 plugin code go through to read or write an entity's keyvalues at runtime.

Search tips

Type any text in the sidebar search to filter class names. Not every class here is a spawnable entity - some are plain structs with their own data description, such as embedded value types used by other entities.