Template:CD/doc/zh: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎用法: clean up, replaced: {{tip:zh-cn → {{tip)
m (→‎top: clean up, replaced: {{Documentation subpage → {{Doc/subpage)
Line 1: Line 1:
{{Documentation subpage:zh-cn}}
{{Doc/subpage:zh-cn}}
<!-- Please place categories where indicated at the bottom of this page.) -->
<!-- Please place categories where indicated at the bottom of this page.) -->
此模板用于为实体生成类(Class)层次结构。
此模板用于为实体生成类(Class)层次结构。

Revision as of 02:14, 12 January 2024

Template:Doc/subpage:zh-cn 此模板用于为实体生成类(Class)层次结构。

用法

{{CD:zh-cn|<实体 class>|file1=<在哪里定义 class 的文件>}}

Tip.pngTip:如果某些类名的模板失败,请尝试使用 Template:CD2

示例和参数

{{CD:zh-cn|CGasCan|file1=somefile.cpp}}
C++ 类层级
CGasCan
CCarriedPropWeapon
CCarriedProp
CBaseBackpackItem
CTerrorWeapon
CWeaponCSBase
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
C++ somefile.cpp