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
 

Static Public Attributes

static std::shared_ptr< Xenong_pXenon = nullptr
 
static std::shared_ptr< XenonVariablesg_pXenonVariables = nullptr
 
static std::shared_ptr< XenonConfigg_pXenonConfigs = nullptr
 

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 = nullptr
inlinestatic

◆ g_pXenonConfigs

std::shared_ptr<XenonConfig> CComponent::g_pXenonConfigs = nullptr
inlinestatic

◆ g_pXenonVariables

std::shared_ptr<XenonVariables> CComponent::g_pXenonVariables = nullptr
inlinestatic

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