#pragma once namespace respawn { class c_entity_list { public: template < typename T > auto* get_client_entity(int index) { return (T*)vfunc::call<4, T*>(this, index); } auto get_highest_entity_index() { return vfunc::call<8, int>(this); } private: }; }