这篇条目有关 "GoldSrc" 引擎。如需详情,点击这里。
这篇条目有关 Source引擎。如需详情,点击这里。
这篇条目有关 Source 2引擎。如需详情,点击这里。

类名

From Valve Developer Community
< Zh
Jump to navigation Jump to search
English (en)Русский (ru)中文 (zh)Translate (Translate)

类名keyvalue(en),可在所有的 GoldSrc GoldSrc起源 起源起源2 起源2 游戏中使用。 它指示实体是什么类型的对象。npc_zombiepoint_spotlightfunc_tracktrain 都是不同实体的类名。

程序员可以使用 LINK_ENTITY_TO_CLASS()(en) 宏将类名链接到 C++ 类。

这篇文章是一个小作品(en),您可以帮助我们完善它。