g_pClientMgr = 0x1234214 //CFPH
class ObjectMgr : public WorldTreeHelper
{
public:
ModelInstance* FindObjectClient(uint16 id) { return reinterpret_cast<ModelInstance*(__thiscall*)(void*, uint16)>(0x6AFCC0)(this, objId); }
int m_nElements() { return ILTCSBase::GetObjectElements(); }
};
class CClientMgr
{
public:
// The object manager. This holds the lists of all the objects (which aren't
// necessarily always in the world tree).
ObjectMgr* m_ObjectMgr() { return (ObjectMgr*)((uintptr_t)this + 0x0000); }
};

class CObjectUserData
{
public:
int SFX_ID();
//here's now your Entities
CAIClient* GetAIClient();
CThrowingWeaponFX* GetCThrowingWeaponFX();
CDroppedWeaponFX* GetCWeaponDroppedFX();
CDroppedWeaponFX_BR* GetCWeaponDroppedFX_BR(); //Battleroyale Mode
CharacFX* GetCharacFX();
}; //credits vaisefud3
// All objects sitting in the BSP are LTObjects.
class LTObject : public WorldTreeObj
{
// Helpers.
public:
// User data.. void *m_pUserData;
CObjectUserData* GetObjectUserData() { return g_pLTClient->GetObjectUserData(this); }
};
class ModelInstance : public LTObject
{
};