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

UI service component. More...

#include <ui_service.hpp>

Inheritance diagram for CUIService:
Collaboration diagram for CUIService:

Public Member Functions

void Init () override
 Initialize the UI service.
 
bool InitPresent (IDXGISwapChain *pSwapChain)
 Initialize the present function.
 
void InitExternal ()
 Initialize the external function.
 
void UpdateUI ()
 Update the UI.
 
void Destroy ()
 Destroy the UI.
 
void BeginRenderUI ()
 Begin render the UI.
 
void EndRenderUI ()
 End render the UI.
 
void SetMenuOpen ()
 Set the menu open.
 
void SetMenuClose ()
 Set the menu close.
 
void CreateImGuiUI ()
 Create the ImGui UI.
 
void RenderCrosshair ()
 Render the crosshair.
 
void RenderFov ()
 Render the FOV.
 
void RenderEnabledCheats ()
 Render the enabled cheats.
 
void Update () override
 Update the UI.
 
- Public Member Functions inherited from CComponent
virtual void UpdateCurrentTarget (TargetProfile *target)
 If Update loop enabled, this function will be executed every frame for each target.
 
virtual ~CComponent ()=default
 

Public Attributes

Hotkey testhotkey
 
bool isEditing = false
 
Present oPresent = NULL
 
WNDPROC oWndProc = NULL
 
- Public Attributes inherited from CComponent
std::shared_ptr< Xenong_pXenon
 
std::shared_ptr< XenonVariablesg_pXenonVariables
 
std::shared_ptr< XenonConfigg_pXenonConfigs
 

Detailed Description

UI service component.

This component is responsible for rendering the UI.

Member Function Documentation

◆ BeginRenderUI()

void CUIService::BeginRenderUI ( )

Begin render the UI.

◆ CreateImGuiUI()

void CUIService::CreateImGuiUI ( )

Create the ImGui UI.

◆ Destroy()

void CUIService::Destroy ( )

Destroy the UI.

◆ EndRenderUI()

void CUIService::EndRenderUI ( )

End render the UI.

◆ Init()

void CUIService::Init ( )
inlineoverridevirtual

Initialize the UI service.

Reimplemented from CComponent.

◆ InitExternal()

void CUIService::InitExternal ( )

Initialize the external function.

◆ InitPresent()

bool CUIService::InitPresent ( IDXGISwapChain *  pSwapChain)

Initialize the present function.

Parameters
pSwapChainSwap chain.
Returns
True if the present function was initialized, false otherwise.

◆ RenderCrosshair()

void CUIService::RenderCrosshair ( )

Render the crosshair.

◆ RenderEnabledCheats()

void CUIService::RenderEnabledCheats ( )

Render the enabled cheats.

◆ RenderFov()

void CUIService::RenderFov ( )

Render the FOV.

◆ SetMenuClose()

void CUIService::SetMenuClose ( )

Set the menu close.

◆ SetMenuOpen()

void CUIService::SetMenuOpen ( )

Set the menu open.

◆ Update()

void CUIService::Update ( )
overridevirtual

Update the UI.

Reimplemented from CComponent.

◆ UpdateUI()

void CUIService::UpdateUI ( )

Update the UI.

Member Data Documentation

◆ isEditing

bool CUIService::isEditing = false

◆ oPresent

Present CUIService::oPresent = NULL

◆ oWndProc

WNDPROC CUIService::oWndProc = NULL

◆ testhotkey

Hotkey CUIService::testhotkey

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