Game: add CBaseEntity::GetFlags() and FL_FAKECLIENT constant

This commit is contained in:
Kawe Mazidjatari 2024-04-12 01:20:48 +02:00
parent cdaf4f1b76
commit 824b5098b3
2 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,8 @@ public:
inline edict_t GetEdict(void) { return NetworkProp()->GetEdict(); }
inline string_t GetEntityName(void) const { return m_iName; }
inline int GetFlags(void) const { return m_fFlags; }
protected:
CBaseHandle m_RefEHandle;
char gap_c[4];

View File

@ -26,6 +26,8 @@
#define FIXANGLE_ABSOLUTE 1
#define FIXANGLE_RELATIVE 2
#define FL_FAKECLIENT (1<<7) // Fake client, simulated server side; don't send network messages to them
enum RenderMode_t
{
kRenderNormal = 0, // src