添加项目文件。
This commit is contained in:
11
csgo2/native_sdk/handle/handle.cpp
Normal file
11
csgo2/native_sdk/handle/handle.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "handle.h"
|
||||
#include "../cgameentitysystem.h"
|
||||
|
||||
CBaseEntity* CHandle::GetBaseEntity() const
|
||||
{
|
||||
CGameEntitySystem* pEntitySystem = CGameEntitySystem::GetInstance();
|
||||
if (!pEntitySystem)
|
||||
return nullptr;
|
||||
|
||||
return pEntitySystem->GetBaseEntity(GetEntryIndex());
|
||||
}
|
||||
Reference in New Issue
Block a user