CBaseEntity (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Not sure why you wouldn't inherit CBaseEntity, but yeah, spawnflag 2048 is hardcoded.)
Line 2: Line 2:
{{CDA|CBaseEntity  (GoldSrc){{!}}CBaseEntity|file1=[https://github.com/ValveSoftware/halflife/blob/master/dlls/cbase.cpp cbase.cpp]}}
{{CDA|CBaseEntity  (GoldSrc){{!}}CBaseEntity|file1=[https://github.com/ValveSoftware/halflife/blob/master/dlls/cbase.cpp cbase.cpp]}}
{{stub}}
{{stub}}
{{note|Spawnflag 2048 is hardcoded to never appear in {{cmd|deathmatch}} mode; this is handled engine-side, not in CBaseEntity, so it affects all entities, even if they don't inherit CBaseEntity.}}

Revision as of 09:31, 29 April 2025

Source Engine ( serverside | clientside )
edit
C++ Class hierarchy
CBaseEntity defined in C++ cbase.cpp

Stub

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

Note.pngNote:Spawnflag 2048 is hardcoded to never appear in deathmatch mode; this is handled engine-side, not in CBaseEntity, so it affects all entities, even if they don't inherit CBaseEntity.