mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Client: fix IClientEntityList interface
Some methods had missing parameters, and this interface expects CBaseHandle being passed in as a reference, which explains why GetClientEntityFromHandle() didn't work properly in the past.
This commit is contained in:
parent
a9c6a5e733
commit
979e9410b6
@ -6,12 +6,12 @@
|
|||||||
class IClientEntityList // Fully reversed beside index 0 which is probably a destructor.
|
class IClientEntityList // Fully reversed beside index 0 which is probably a destructor.
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual int sub_1405C5E70() = 0;
|
virtual void* sub_1405C5E70(int idx) = 0;
|
||||||
virtual IClientNetworkable* GetClientNetworkable() = 0;
|
virtual IClientNetworkable* GetClientNetworkable(int entnum) = 0;
|
||||||
virtual IClientNetworkable* GetClientNetworkableFromHandle(CBaseHandle handle) = 0;
|
virtual IClientNetworkable* GetClientNetworkableFromHandle(const CBaseHandle& handle) = 0;
|
||||||
virtual void* GetClientUnknownFromHandle(CBaseHandle handle) = 0;
|
virtual void* GetClientUnknownFromHandle(const CBaseHandle& handle) = 0;
|
||||||
virtual IClientEntity* GetClientEntity(int entNum) = 0;
|
virtual IClientEntity* GetClientEntity(int entNum) = 0;
|
||||||
virtual IClientEntity* GetClientEntityFromHandle(CBaseHandle handle) = 0; // behaves weird on r5 and doesn't really wanna work.
|
virtual IClientEntity* GetClientEntityFromHandle(const CBaseHandle& handle) = 0;
|
||||||
virtual int NumberOfEntities(bool includeNonNetworkable = false) = 0;
|
virtual int NumberOfEntities(bool includeNonNetworkable = false) = 0;
|
||||||
virtual int GetNumClientNonNetworkable() = 0;
|
virtual int GetNumClientNonNetworkable() = 0;
|
||||||
virtual int GetHighestEntityIndex() = 0;
|
virtual int GetHighestEntityIndex() = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user