CServerOnlyEntity/definitions: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=== [https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/baseentity.h baseentity.h] === <syntaxhighlight lang=cpp> // Has a position + size class C...") |
CHILLMODEA (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Definitions]] | |||
=== [https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/baseentity.h baseentity.h] === | === [https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/baseentity.h baseentity.h] === | ||
<syntaxhighlight lang=cpp> | <syntaxhighlight lang=cpp> |
Latest revision as of 20:03, 9 June 2025
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); }
};