VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CCSPlayerController.cpp
Go to the documentation of this file.
1// Generated by `voltmod framework schemagen`. Do not edit.
2
3#include "Schema/Notify.hpp"
4
9
10namespace VoltMod::Schema
11{
12
13// ---- CCSPlayerController, 3472 bytes -------------------------------
14static constexpr int32_t kCCSPlayerController_PlayerPawn = 3012; // CHandle< CCSPlayerPawn >
15static constexpr int32_t kCCSPlayerController_InGameMoneyServices = 2752; // CCSPlayerController_InGameMoneyServices*
16static constexpr int32_t kCCSPlayerController_Clan = 2840; // CUtlSymbolLarge
17static constexpr int32_t kCCSPlayerController_Score = 3060; // int32
19 2768; // CCSPlayerController_ActionTrackingServices*
20
22{
23 if (!_base)
24 {
25 return {};
26 }
27
29}
30
41
51
52const char* CCSPlayerController::Clan() const
53{
54 if (!_base)
55 {
56 return {};
57 }
58
60}
61
62void CCSPlayerController::SetClan(const char* value) const
63{
64 if (!_base)
65 {
66 return;
67 }
68
71}
72
74{
75 if (!_base)
76 {
77 return {};
78 }
79
81}
82
93
104
105} // namespace VoltMod::Schema
Typed read/write of engine fields at a base pointer + byte offset.
CCSPlayerController_InGameMoneyServices InGameMoneyServices() const
CCSPlayerController_ActionTrackingServices ActionTrackingServices() const
void SetPlayerPawn(EntityRef value) const
void SetClan(const char *value) const
int32_t _ownerOffset
Definition View.hpp:38
::CEntityInstance * _owner
Definition View.hpp:37
static constexpr int32_t kCCSPlayerController_Score
void NotifyEntity(CEntityInstance *entity, int32_t offset)
Definition Notify.cpp:20
static constexpr int32_t kCCSPlayerController_InGameMoneyServices
static constexpr int32_t kCCSPlayerController_ActionTrackingServices
static constexpr int32_t kCCSPlayerController_PlayerPawn
static constexpr int32_t kCCSPlayerController_Clan
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56