game
The game namespace provides game-specific functionality, like obtaining classes, reading values and more!
Declaration:
namespace game
{
// "TYPE" can be filled in with these types:
// int8
// int16
// int32
// int64
// uint8
// uint16
// uint32
// uint64
// float
// double
// bool
// vec3_t
TYPE read_TYPE(uint64 address);
TYPE write_type(uint64 address);
// gets the position from a transform
// will return vec3_t(0.f, 0.f, 0.f) if the transform is invalid
vec3_t get_transform_position(uint64 address);
// moves the mouse to "pos" (wrapper around "mouse_event")
void move_mouse(const vec2_t&in pos);
// returns the position of the main camera
// will return vec3_t(0.f, 0.f, 0.f) if the camera is invalid
vec3_t get_camera_position();
// returns the base address of the module specified
uint64 get_module_base(string name);
}Information:
Last updated