System.
More...
#include <system.hpp>
System.
This class is responsible for the system.
◆ 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.
◆ 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 |
◆ SetGameDimension()
| void System::SetGameDimension |
( |
GameDimension |
dim | ) |
|
|
inline |
◆ SetRenderingBackend()
| void System::SetRenderingBackend |
( |
RenderingBackend |
type | ) |
|
|
inline |
Set the rendering backend.
◆ 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 |
◆ g_renderingBackend
| RenderingBackend System::g_renderingBackend = RenderingBackend::REND_NONE |
◆ 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 |
◆ m_fnW2S3D
| std::function<Vec2(Vec3)> System::m_fnW2S3D |
The documentation for this class was generated from the following file:
- xenon/includes/xenon/core/system.hpp