A class that represents the waypoints functionality in the Xenon cheat engine.
More...
#include <waypoints.hpp>
|
| void | SetWaypoint (std::string title, const Vec2 &pos, ImColor color) |
| | Set the Waypoint object in the current localplayer position 2D.
|
| |
| void | SetWaypoint (std::string title, const Vec3 &pos, ImColor color) |
| | Set the Waypoint object in the current localplayer position 3D.
|
| |
| std::vector< Waypoint > | GetWaypoints () |
| | Get the Waypoints object.
|
| |
| void | ClearWaypoints () |
| | Clear the Waypoints object.
|
| |
| void | RenderInWorld () |
| | Render the Waypoints object in the world.
|
| |
| void | RenderInRadar (std::function< bool(ImVec2)> fnIsPointInRadar, Vec2 localPos, float defaultScale, float radarSize, float zoomFactor, ImVec2 radarCenter) |
| | Render the Waypoints object in the radar 2D.
|
| |
| void | RenderInRadar (std::function< bool(ImVec2)> fnIsPointInRadar, Vec3 localPos, float defaultScale, float radarSize, float zoomFactor, ImVec2 radarCenter) |
| | Render the Waypoints object in the radar 3D.
|
| |
| void | Update () override |
| | Update the Waypoints object every frame.
|
| |
| virtual void | Init () |
| | Will be executed when the component is initialized.
|
| |
| virtual void | UpdateCurrentTarget (TargetProfile *target) |
| | If Update loop enabled, this function will be executed every frame for each target.
|
| |
| virtual | ~CComponent ()=default |
| |
A class that represents the waypoints functionality in the Xenon cheat engine.
◆ ClearWaypoints()
| void CWaypoints::ClearWaypoints |
( |
| ) |
|
Clear the Waypoints object.
◆ GetWaypoints()
| std::vector< Waypoint > CWaypoints::GetWaypoints |
( |
| ) |
|
Get the Waypoints object.
- Returns
- std::vector<Waypoint>
◆ RenderInRadar() [1/2]
| void CWaypoints::RenderInRadar |
( |
std::function< bool(ImVec2)> |
fnIsPointInRadar, |
|
|
Vec2 |
localPos, |
|
|
float |
defaultScale, |
|
|
float |
radarSize, |
|
|
float |
zoomFactor, |
|
|
ImVec2 |
radarCenter |
|
) |
| |
Render the Waypoints object in the radar 2D.
- Parameters
-
| fnIsPointInRadar | Function to check if the point is in the radar. |
| localPos | Local position of the player. |
| defaultScale | Default scale of the radar. |
| radarSize | Size of the radar. |
| zoomFactor | Zoom factor of the radar. |
| radarCenter | Center of the radar. |
◆ RenderInRadar() [2/2]
| void CWaypoints::RenderInRadar |
( |
std::function< bool(ImVec2)> |
fnIsPointInRadar, |
|
|
Vec3 |
localPos, |
|
|
float |
defaultScale, |
|
|
float |
radarSize, |
|
|
float |
zoomFactor, |
|
|
ImVec2 |
radarCenter |
|
) |
| |
Render the Waypoints object in the radar 3D.
- Parameters
-
| fnIsPointInRadar | Function to check if the point is in the radar. |
| localPos | Local position of the player. |
| defaultScale | Default scale of the radar. |
| radarSize | Size of the radar. |
| zoomFactor | Zoom factor of the radar. |
| radarCenter | Center of the radar. |
◆ RenderInWorld()
| void CWaypoints::RenderInWorld |
( |
| ) |
|
Render the Waypoints object in the world.
◆ SetWaypoint() [1/2]
| void CWaypoints::SetWaypoint |
( |
std::string |
title, |
|
|
const Vec2 & |
pos, |
|
|
ImColor |
color |
|
) |
| |
Set the Waypoint object in the current localplayer position 2D.
- Parameters
-
| title | The name of the waypoint. |
| pos | The position of the waypoint. |
| color | The color of the waypoint. |
◆ SetWaypoint() [2/2]
| void CWaypoints::SetWaypoint |
( |
std::string |
title, |
|
|
const Vec3 & |
pos, |
|
|
ImColor |
color |
|
) |
| |
Set the Waypoint object in the current localplayer position 3D.
- Parameters
-
| title | The name of the waypoint. |
| pos | The position of the waypoint. |
| color | The color of the waypoint. |
◆ Update()
| void CWaypoints::Update |
( |
| ) |
|
|
overridevirtual |
Update the Waypoints object every frame.
Reimplemented from CComponent.
The documentation for this class was generated from the following file:
- xenon/includes/xenon/components/features/waypoints.hpp