Classname

From Valve Developer Community
Revision as of 11:19, 27 February 2025 by SirYodaJedi (talk | contribs)
Jump to navigation Jump to search
English (en)Translate (Translate)

classname is a kv indicating what the type of object it the entity is. "npc_zombie", "point_spotlight" and "func_tracktrain" are all classnames of different entities.

Programmers can link a C++ class to a classname with the LINK_ENTITY_TO_CLASS() macro.


Stub

This article or section is a stub. You can help by expanding it.