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

Base class for all components in the Xenon framework. More...

#include <component.hpp>

Inheritance diagram for CComponent:

Public Member Functions

virtual void Init ()
 Will be executed when the component is initialized.
 
virtual void Update ()
 If Update loop enabled, this function will be executed every frame.
 
virtual void UpdateCurrentTarget (TargetProfile *target)
 If Update loop enabled, this function will be executed every frame for each target.
 
virtual ~CComponent ()=default
 

Public Attributes

std::shared_ptr< Xenong_pXenon
 
std::shared_ptr< XenonVariablesg_pXenonVariables
 
std::shared_ptr< XenonConfigg_pXenonConfigs
 

Detailed Description

Base class for all components in the Xenon framework.

Constructor & Destructor Documentation

◆ ~CComponent()

virtual CComponent::~CComponent ( )
virtualdefault

Member Function Documentation

◆ Init()

virtual void CComponent::Init ( )
inlinevirtual

Will be executed when the component is initialized.

Reimplemented in CAimbot, CLuaService, and CUIService.

◆ Update()

virtual void CComponent::Update ( )
inlinevirtual

If Update loop enabled, this function will be executed every frame.

Reimplemented in CAimbot, CRadar, CWaypoints, CAimService, CLuaService, and CUIService.

◆ UpdateCurrentTarget()

virtual void CComponent::UpdateCurrentTarget ( TargetProfile target)
inlinevirtual

If Update loop enabled, this function will be executed every frame for each target.

Parameters
targetTarget profile updated for this frame.

Reimplemented in CEsp.

Member Data Documentation

◆ g_pXenon

std::shared_ptr<Xenon> CComponent::g_pXenon

◆ g_pXenonConfigs

std::shared_ptr<XenonConfig> CComponent::g_pXenonConfigs

◆ g_pXenonVariables

std::shared_ptr<XenonVariables> CComponent::g_pXenonVariables

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