VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CCSGameRules.cpp
Go to the documentation of this file.
1// Generated by `voltmod framework schemagen`. Do not edit.
2
3#include "Schema/Layout.hpp"
4#include "Schema/Notify.hpp"
5
8
9namespace VoltMod::Schema
10{
11
12// ---- CCSGameRules ------------------------------------------------
13static const int32_t& CCSGameRules_kOwnerLinkOffset = GeneratedFields[43].Offset;
14static const int32_t& kCCSGameRules_RoundTime = GeneratedFields[41].Offset; // int32
15static const int32_t& kCCSGameRules_RoundStartTime = GeneratedFields[42].Offset; // GameTime_t
16
21
23{
24 if (!_base)
25 {
26 return {};
27 }
28
30}
31
42
44{
45 if (!_base)
46 {
47 return {};
48 }
49
51}
52
63
64} // namespace VoltMod::Schema
Typed read/write of engine fields at a base pointer + byte offset.
void SetRoundTime(int32_t value) const
void SetRoundStartTime(float value) const
::CEntityInstance * OwnerEntity() const
void NotifyComponentOwner(void *component, int32_t ownerLinkOffset, int32_t offset)
Definition Notify.cpp:20
static const int32_t & kCCSGameRules_RoundTime
static const int32_t & kCCSGameRules_RoundStartTime
FieldLayout GeneratedFields[]
Definition Layout.cpp:8
static const int32_t & CCSGameRules_kOwnerLinkOffset
CEntityInstance * ComponentOwner(const void *component, int32_t ownerLinkOffset)
Definition Notify.cpp:32
T * MemberPtr(void *base, std::ptrdiff_t offset) noexcept