VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CCSPlayerBase_CameraServices.cpp
Go to the documentation of this file.
1// Generated by `voltmod framework schemagen`. Do not edit.
2
3#include "Schema/Notify.hpp"
4
7
8namespace VoltMod::Schema
9{
10
11// ---- CCSPlayerBase_CameraServices, 432 bytes ----------------------
13static constexpr int32_t kCCSPlayerBase_CameraServices_ZoomOwner = 392; // CHandle< CBaseEntity >
14
15::CEntityInstance* CCSPlayerBase_CameraServices::OwnerEntity() const
16{
18}
19
21{
22 if (!_base)
23 {
24 return {};
25 }
26
28}
29
30void CCSPlayerBase_CameraServices::SetZoomOwner(EntityRef value) const
31{
32 if (!_base)
33 {
34 return;
35 }
36
39}
40
41} // namespace VoltMod::Schema
Typed read/write of engine fields at a base pointer + byte offset.
void NotifyComponentOwner(void *component, int32_t ownerLinkOffset, int32_t offset)
Definition Notify.cpp:30
CEntityInstance * ComponentOwner(const void *component, int32_t ownerLinkOffset)
Definition Notify.cpp:46
static constexpr int32_t kCCSPlayerBase_CameraServices_ZoomOwner
static constexpr int32_t CCSPlayerBase_CameraServices_kOwnerLinkOffset
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56