Initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
namespace respawn
|
||||
{
|
||||
struct player_info_t
|
||||
{
|
||||
char pad[512];
|
||||
};
|
||||
|
||||
class c_engine_client
|
||||
{
|
||||
public:
|
||||
VIRTUAL_FUNC(get_local_player, int, 40, (), this);
|
||||
VIRTUAL_FUNC(is_in_game, bool, 48, (), this);
|
||||
|
||||
VIRTUAL_FUNC(get_screen_size, void, 19, (int& w, int& h), this, &w, &h);
|
||||
VIRTUAL_FUNC(get_player_info, bool, 24, (int idx, player_info_t* buf), this, idx, buf);
|
||||
|
||||
VIRTUAL_FUNC(get_view_angles, void, 61, (math::Angle3& out), this, &out);
|
||||
VIRTUAL_FUNC(set_view_angles, void, 62, (math::Angle3& in), this, &in);
|
||||
|
||||
VIRTUAL_FUNC(client_command, int64_t, 22, (const char* cmd), this, cmd);
|
||||
private:
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user