CServerOnlyEntity: Difference between revisions
Jump to navigation
Jump to search

Note:ent_text shows all of these with entity index 0
C++ definitions from
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
All [[:Category:CServerOnlyEntity|entities which inherit this class]] do not count as [[edict]]s. | All [[:Category:CServerOnlyEntity|entities which inherit this class]] do not count as [[edict]]s. | ||
{{note|{{cmd|ent_text}} shows all of these with entity index 0}} | {{note|{{cmd|ent_text}} shows all of these with entity index 0}} | ||
{{Class def section}} | |||
{{stub}} | {{stub}} |
Revision as of 14:37, 1 October 2024


![]() |
---|
CServerOnlyEntity |
![]() |
All entities which inherit this class do not count as edicts.

C++ definitions from
Source 2013 Multiplayer [edit]
baseentity.h
// Has a position + size
class CServerOnlyEntity : public CBaseEntity
{
DECLARE_CLASS( CServerOnlyEntity, CBaseEntity );
public:
CServerOnlyEntity() : CBaseEntity( true ) {}
virtual int ObjectCaps( void ) { return (BaseClass::ObjectCaps() & ~FCAP_ACROSS_TRANSITION); }
};