C BaseEntity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{TabsBar|main=CBaseEntity}} {{CD|h=|nocat=1|C_BaseEntity|base=IClientEntity|client=1|file1=1}} {{stub}}")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{LanguageBar|_=1}}
{{TabsBar|main=CBaseEntity}}
{{TabsBar|main=CBaseEntity}}
{{CD|h=|nocat=1|C_BaseEntity|base=IClientEntity|client=1|file1=1}}
{{CD|h=|nocat=1|C_BaseEntity|base=IClientEntity|client=1|file1=1}}
{{stub}}
{{stub}}
A base class for the client-side representation of entities. This class encompasses both entities that are [[edict_t|created on the server and networked to the client]] and entities that are created on the client.
== Debugging ==
{{todo}}
*cl_ent_absbox
*cl_ent_bbox
*cl_ent_rbox
*cl_updatevisibility
*cl_find_ent
*cl_find_ent_index
:Entities that are purely clientside always show index -1 while those that were networked from the server and are part of an edict have the same index as their server counterpart.
*cl_showents
*cl_entityreport
*cl_pdump
*r_drawrenderboxes
*report_cliententitysim
*report_clientthinklist

Latest revision as of 06:52, 21 March 2025

English (en)Translate (Translate)
Source Engine ( serverside | clientside )
Edit Tabs
C++ Class hierarchy (client)
C_BaseEntity
IClientEntity
IClientUnknown
IHandleEntity
C++ c_baseentity.cpp

Stub

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

A base class for the client-side representation of entities. This class encompasses both entities that are created on the server and networked to the client and entities that are created on the client.

Debugging

[Todo]

  • cl_ent_absbox
  • cl_ent_bbox
  • cl_ent_rbox
  • cl_updatevisibility
  • cl_find_ent
  • cl_find_ent_index
Entities that are purely clientside always show index -1 while those that were networked from the server and are part of an edict have the same index as their server counterpart.
  • cl_showents
  • cl_entityreport
  • cl_pdump
  • r_drawrenderboxes
  • report_cliententitysim
  • report_clientthinklist