This repository has been archived on 2026-11-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
my-first-apex-internal/inc/rspn/engine_client.h
T
2026-11-05 02:19:09 +01:00

26 lines
626 B
C++

#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:
};
}