CServerOnlyEntity: Difference between revisions
Jump to navigation
Jump to search

Note:ent_text shows all of these with entity index 0
C++ definitions from
(Removed redirect to Category:CServerOnlyEntity) Tag: Removed redirect |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{CD|CServerOnlyEntity|base=CBaseEntity|nolink=1|file1=[https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/baseentity.h#L2648 baseentity.h]}} | {{CD|CServerOnlyEntity|base=CBaseEntity|nolink=1|file1=[https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/baseentity.h#L2648 baseentity.h]}} | ||
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}} | |||
{{Class def section}} | |||
== See Also == | |||
* [[:Category:CD_CServerOnlyEntity|Direct superclasses]] | |||
{{stub}} | {{stub}} |
Latest revision as of 04:52, 18 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); }
};