Classname: Difference between revisions
Jump to navigation
Jump to search

Thunder4ik (talk | contribs) m (→top: Unicodifying, added stub tag) |
SirYodaJedi (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{lang|Classname}} | {{lang|Classname}} | ||
'''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 | Programmers can link a C++ class to a classname with the <code>[[LINK_ENTITY_TO_CLASS()]]</code> macro. | ||
[[Category:Glossary]] | [[Category:Glossary]] |
Revision as of 11:19, 27 February 2025


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.