This commit is contained in:
Huoji's
2023-10-08 11:05:34 +00:00
parent 27225439d7
commit f011ce6cd9

View File

@@ -369,7 +369,24 @@ class CEntityInstance {
SCHEMA_FIELD(CEntityIdentity*, m_pEntity); SCHEMA_FIELD(CEntityIdentity*, m_pEntity);
SCHEMA_FIELD(const char*, m_designerName); SCHEMA_FIELD(const char*, m_designerName);
}; };
class CGlowProperty; class CGlowProperty {
public:
DECLARE_SCHEMA_CLASS_INLINE(CGlowProperty)
SCHEMA_FIELD(Vector, m_fGlowColor)
SCHEMA_FIELD(int, m_iGlowType)
SCHEMA_FIELD(int, m_nGlowRange)
SCHEMA_FIELD(Color, m_glowColorOverride)
SCHEMA_FIELD(bool, m_bFlashing)
SCHEMA_FIELD(bool, m_bGlowing)
};
class CBaseModelEntity {
public:
DECLARE_CLASS(CBaseModelEntity);
SCHEMA_FIELD(CCollisionProperty, m_Collision)
SCHEMA_FIELD(CGlowProperty, m_Glow)
};
class CBaseEntity : public CEntityInstance { class CBaseEntity : public CEntityInstance {
public: public:
DECLARE_CLASS(CBaseEntity); DECLARE_CLASS(CBaseEntity);
@@ -508,24 +525,7 @@ class CPlayer_MovementServices {
public: public:
DECLARE_CLASS(CPlayer_MovementServices); DECLARE_CLASS(CPlayer_MovementServices);
}; };
class CGlowProperty {
public:
DECLARE_SCHEMA_CLASS_INLINE(CGlowProperty)
SCHEMA_FIELD(Vector, m_fGlowColor)
SCHEMA_FIELD(int, m_iGlowType)
SCHEMA_FIELD(int, m_nGlowRange)
SCHEMA_FIELD(Color, m_glowColorOverride)
SCHEMA_FIELD(bool, m_bFlashing)
SCHEMA_FIELD(bool, m_bGlowing)
};
class CBaseModelEntity {
public:
DECLARE_CLASS(CBaseModelEntity);
SCHEMA_FIELD(CCollisionProperty, m_Collision)
SCHEMA_FIELD(CGlowProperty, m_Glow)
};
class CBasePlayerPawn : public CBaseEntity { class CBasePlayerPawn : public CBaseEntity {
public: public:
DECLARE_CLASS(CBasePlayerPawn); DECLARE_CLASS(CBasePlayerPawn);