mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-28 15:45:41 +03:00
Add reserve members for CCS Entity
Bump interface version up to CSENTITY_API_INTERFACE_VERSION003
This commit is contained in:
parent
02bb06a6ef
commit
f3723d7a04
@ -244,6 +244,7 @@ public:
|
||||
|
||||
#ifdef REGAMEDLL_API
|
||||
CCSEntity *m_pEntity;
|
||||
CCSEntity *CSEntity() const;
|
||||
#else
|
||||
// We use this variables to store each ammo count.
|
||||
// let's sacrifice this unused member, for its own needs in favor of m_pEntity
|
||||
@ -328,6 +329,13 @@ inline void CBaseEntity::SetBlocked(std::nullptr_t)
|
||||
m_pfnBlocked = nullptr;
|
||||
}
|
||||
|
||||
#ifdef REGAMEDLL_API
|
||||
inline CCSEntity *CBaseEntity::CSEntity() const
|
||||
{
|
||||
return m_pEntity;
|
||||
}
|
||||
#endif
|
||||
|
||||
class CPointEntity: public CBaseEntity {
|
||||
public:
|
||||
virtual void Spawn();
|
||||
|
@ -47,8 +47,9 @@ public:
|
||||
|
||||
private:
|
||||
#if defined(_MSC_VER)
|
||||
#pragma region reserve_vfuncs_Region
|
||||
#pragma region reserve_data_Region
|
||||
#endif
|
||||
int CCSEntity_Reserve[0x1000];
|
||||
virtual void func_reserve1() {};
|
||||
virtual void func_reserve2() {};
|
||||
virtual void func_reserve3() {};
|
||||
@ -88,24 +89,32 @@ class CCSDelay: public CCSEntity
|
||||
{
|
||||
public:
|
||||
|
||||
private:
|
||||
int CCSDelay_Reserve[0x100];
|
||||
};
|
||||
|
||||
class CCSAnimating: public CCSDelay
|
||||
{
|
||||
public:
|
||||
|
||||
private:
|
||||
int CCSAnimating_Reserve[0x100];
|
||||
};
|
||||
|
||||
class CCSToggle: public CCSAnimating
|
||||
{
|
||||
public:
|
||||
|
||||
private:
|
||||
int CCSToggle_Reserve[0x100];
|
||||
};
|
||||
|
||||
class CCSMonster: public CCSToggle
|
||||
{
|
||||
public:
|
||||
|
||||
private:
|
||||
int CCSMonster_Reserve[0x100];
|
||||
};
|
||||
|
||||
#define CSENTITY_API_INTERFACE_VERSION "CSENTITY_API_INTERFACE_VERSION002"
|
||||
#define CSENTITY_API_INTERFACE_VERSION "CSENTITY_API_INTERFACE_VERSION003"
|
||||
|
Loading…
Reference in New Issue
Block a user