This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
nekohook/modules/csgo/util/netvars.hpp
2020-08-04 13:13:01 -04:00

34 lines
611 B
C++

/*
*
* Header file for netvars. Be sure to extern every netvar you put in the
*main cpp file
*
*/
#pragma once
#define NET_VAR(entity, offset, type) \
(*(reinterpret_cast<type*>(reinterpret_cast<uintptr_t>(entity) + (offset))))
namespace modules {
namespace csgo {
namespace netvars {
// Generic stuff
extern int m_vecOrigin;
extern int m_Collision;
extern int m_iTeamNum;
extern int m_iHealth;
extern int m_lifeState;
extern int m_vecViewOffset;
// Aimbot
extern int m_nHitboxSet;
extern int m_flSimulationTime;
void Init();
} // namespace netvars
} // namespace csgo
} // namespace modules