Xenon
A framework for cheat development.
 
Loading...
Searching...
No Matches
System Class Reference

System. More...

#include <system.hpp>

Public Member Functions

float GetPlayTime () const
 Get the play time.
 
Vec2 GetScreenResolution ()
 Get the screen resolution.
 
Vec2 GetScreenCenter ()
 Get the screen center.
 
Vec2 GetMousePos ()
 Get the mouse position.
 
void SetAppTitle (std::string title)
 Set the app title.
 
std::string * GetAppTitle ()
 Get the app title.
 
void IsInternal (bool isInternal)
 Set if the cheat is internal.
 
bool IsInternal () const
 Get if the cheat is internal.
 
void IsUnityEngine (UnityEngineType type)
 Set if the game is Unity Engine.
 
void IsUnrealEngine (UnrealEngineVersion version)
 Set if the game is Unreal Engine.
 
void SetGameDimension (GameDimension dim)
 Set the game dimension.
 
GameDimension GetGameDimension () const
 Get the game dimension.
 
bool Is3DGame () const
 Check if the game is 3D.
 
void SetRenderingHookType (RenderingHookType type)
 Set the rendering hook type.
 
RenderingHookType GetRenderingHookType () const
 Get the rendering hook type.
 
void SetRenderingBackend (RenderingBackend type)
 Set the rendering backend.
 
RenderingBackend GetRenderingBackend () const
 Get the rendering backend.
 

Public Attributes

intptr_t g_pUnityBase
 
intptr_t g_pUnityGameAssembly
 
intptr_t g_pUnityPlayer
 
float g_fStartPlayTime
 
float g_fDeltaTime
 
float m_fDistanceScale = 1
 
bool m_bCheckDistanceScale = false
 
std::function< Vec2(Vec2)> m_fnW2S2D
 World to screen 2D.
 
std::function< Vec2(Vec3)> m_fnW2S3D
 World to screen 3D.
 
std::function< Vec2(Vec2)> m_fnS2W2D
 
std::function< Vec2(Vec3)> m_fnS2W3D
 

Detailed Description

System.

This class is responsible for the system.

Member Function Documentation

◆ GetAppTitle()

std::string * System::GetAppTitle ( )
inline

Get the app title.

Returns
The app title.

◆ GetGameDimension()

GameDimension System::GetGameDimension ( ) const
inline

Get the game dimension.

Returns
The game dimension.

◆ GetMousePos()

Vec2 System::GetMousePos ( )

Get the mouse position.

Returns
The mouse position.

◆ GetPlayTime()

float System::GetPlayTime ( ) const

Get the play time.

Returns
The play time.

◆ GetRenderingBackend()

RenderingBackend System::GetRenderingBackend ( ) const
inline

Get the rendering backend.

Returns
The rendering backend.

◆ GetRenderingHookType()

RenderingHookType System::GetRenderingHookType ( ) const
inline

Get the rendering hook type.

Returns
The rendering hook type.

◆ GetScreenCenter()

Vec2 System::GetScreenCenter ( )

Get the screen center.

Returns
The screen center.

◆ GetScreenResolution()

Vec2 System::GetScreenResolution ( )

Get the screen resolution.

Returns
The screen resolution.

◆ Is3DGame()

bool System::Is3DGame ( ) const
inline

Check if the game is 3D.

Returns
True if the game is 3D, false otherwise.

◆ IsInternal() [1/2]

bool System::IsInternal ( ) const
inline

Get if the cheat is internal.

Returns
True if the cheat is internal, false otherwise.

◆ IsInternal() [2/2]

void System::IsInternal ( bool  isInternal)
inline

Set if the cheat is internal.

◆ IsUnityEngine()

void System::IsUnityEngine ( UnityEngineType  type)
inline

Set if the game is Unity Engine.

◆ IsUnrealEngine()

void System::IsUnrealEngine ( UnrealEngineVersion  version)
inline

Set if the game is Unreal Engine.

◆ SetAppTitle()

void System::SetAppTitle ( std::string  title)
inline

Set the app title.

◆ SetGameDimension()

void System::SetGameDimension ( GameDimension  dim)
inline

Set the game dimension.

◆ SetRenderingBackend()

void System::SetRenderingBackend ( RenderingBackend  type)
inline

Set the rendering backend.

◆ SetRenderingHookType()

void System::SetRenderingHookType ( RenderingHookType  type)
inline

Set the rendering hook type.

Member Data Documentation

◆ g_fDeltaTime

float System::g_fDeltaTime

◆ g_fStartPlayTime

float System::g_fStartPlayTime

◆ g_pUnityBase

intptr_t System::g_pUnityBase

◆ g_pUnityGameAssembly

intptr_t System::g_pUnityGameAssembly

◆ g_pUnityPlayer

intptr_t System::g_pUnityPlayer

◆ m_bCheckDistanceScale

bool System::m_bCheckDistanceScale = false

◆ m_fDistanceScale

float System::m_fDistanceScale = 1

◆ m_fnS2W2D

std::function<Vec2(Vec2)> System::m_fnS2W2D

◆ m_fnS2W3D

std::function<Vec2(Vec3)> System::m_fnS2W3D

◆ m_fnW2S2D

std::function<Vec2(Vec2)> System::m_fnW2S2D

World to screen 2D.

◆ m_fnW2S3D

std::function<Vec2(Vec3)> System::m_fnW2S3D

World to screen 3D.


The documentation for this class was generated from the following file: