VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CCSCustomHudLayout.cpp
Go to the documentation of this file.
1// Generated by `voltmod framework schemagen`. Do not edit.
2
3#include "Schema/Notify.hpp"
4
8
9namespace VoltMod::Schema
10{
11
12// ---- CCSCustomHudLayout, 2072 bytes --------------------------------
13static constexpr int32_t kCCSCustomHudLayout_PanelIds = 1736; // CNetworkUtlVectorBase< CUtlString >
14static constexpr int32_t kCCSCustomHudLayout_ClassNames = 1760; // CNetworkUtlVectorBase< CUtlString >
15static constexpr int32_t kCCSCustomHudLayout_DialogVariableNames = 1784; // CNetworkUtlVectorBase< CUtlString >
16static constexpr int32_t kCCSCustomHudLayout_GlobalLayoutState = 1328; // CCSCustomHudLayoutState
18 1224; // CUtlVectorEmbeddedNetworkVar< CCSCustomHudLayoutState >
19static constexpr int32_t kCCSCustomHudLayout_Layout = 1208; // CUtlSymbolLarge
20
22{
24}
25
27{
29}
30
32{
34}
35
36CCSCustomHudLayoutState CCSCustomHudLayout::GlobalLayoutState() const
37{
38 if (!_base)
39 {
40 return {};
41 }
42
43 return CCSCustomHudLayoutState{MemberPtr<void>(_base, kCCSCustomHudLayout_GlobalLayoutState), _owner,
45}
46
48{
49 if (!_base)
50 {
51 return {};
52 }
53
55}
56
58{
59 if (!_base)
60 {
61 return;
62 }
63
66}
67
68const char* CCSCustomHudLayout::Layout() const
69{
70 if (!_base)
71 {
72 return {};
73 }
74
76}
77
78void CCSCustomHudLayout::SetLayout(const char* value) const
79{
80 if (!_base)
81 {
82 return;
83 }
84
87}
88
89} // namespace VoltMod::Schema
Typed read/write of engine fields at a base pointer + byte offset.
void SetLayout(const char *value) const
CCSCustomHudLayoutState GlobalLayoutState() const
void SetPlayerLayoutStates(int32_t value) const
int32_t _ownerOffset
Definition View.hpp:38
::CEntityInstance * _owner
Definition View.hpp:37
static constexpr int32_t kCCSCustomHudLayout_GlobalLayoutState
static constexpr int32_t kCCSCustomHudLayout_ClassNames
void NotifyEntity(CEntityInstance *entity, int32_t offset)
Definition Notify.cpp:20
static constexpr int32_t kCCSCustomHudLayout_Layout
static constexpr int32_t kCCSCustomHudLayout_PanelIds
static constexpr int32_t kCCSCustomHudLayout_DialogVariableNames
static constexpr int32_t kCCSCustomHudLayout_PlayerLayoutStates
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56