Template:CD/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: clean up, replaced: {{Documentation subpage → {{Doc/subpage)
(see also)
Line 13: Line 13:
| {{CD|CGasCan|file1=somefile.cpp}}
| {{CD|CGasCan|file1=somefile.cpp}}
|}
|}
== See Also ==
* [[List of Source SDK 2013 Entities]]

Revision as of 05:14, 28 June 2024

Edit-copy.png
This is a documentation subpage for Template:CD.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

This template is used to generate class hierarchy for an entity.

Usage

{{CD|<entity_class>|file1=<file_where_the_class_is_defined_in>}}

Tip.pngTip:If the template fails for some classname try using Template:CD2

Examples and Parameters

{{CD|CGasCan|file1=somefile.cpp}}
C++ Class hierarchy
CGasCan
CCarriedPropWeapon
CCarriedProp
CBaseBackpackItem
CTerrorWeapon
CWeaponCSBase
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
C++ somefile.cpp

See Also