CBaseEntity (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{tabs|CBaseEntity|goldsrc=1|source=1|main=source}} {{CDA|CBaseEntity|file1=[https://github.com/ValveSoftware/halflife/blob/master/dlls/cbase.cpp cbase.cpp]}}")
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{tabs|CBaseEntity|goldsrc=1|source=1|main=source}}
{{TabsBar|main=CBaseEntity}}
{{CDA|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}}
{{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. Therefore, avoid assigning this spawnflag to a different behavior if your mod supports multiplayer.}}

Latest revision as of 09:42, 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. Therefore, avoid assigning this spawnflag to a different behavior if your mod supports multiplayer.