VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CBaseEntity.hpp
Go to the documentation of this file.
1// Generated by `voltmod framework schemagen`. Do not edit.
2
3#pragma once
4
12#include <cstdint>
13
14namespace VoltMod::Schema
15{
16
17/** Frame-local view over an engine CBaseEntity; never store one. */
19{
20public:
22
23 int32_t Health() const;
24 void SetHealth(int32_t value) const;
25
26 int32_t MaxHealth() const;
27 void SetMaxHealth(int32_t value) const;
28
29 float GravityScale() const;
30 void SetGravityScale(float value) const;
31
32 VoltMod::Team TeamNum() const;
33 void SetTeamNum(VoltMod::Team value) const;
34
35 uint8_t LifeState() const;
36 void SetLifeState(uint8_t value) const;
37
38 uint32_t Flags() const;
39 void SetFlags(uint32_t value) const;
40
41 Vector AbsVelocity() const;
42 void SetAbsVelocity(Vector value) const;
43
44 MoveType_t MoveTypeRaw() const;
45 void SetMoveTypeRaw(MoveType_t value) const;
46
48 void SetActualMoveType(MoveType_t value) const;
49
50 EntityRef GroundEntity() const;
51 void SetGroundEntity(EntityRef value) const;
52
53 EntityRef OwnerEntity() const;
54 void SetOwnerEntity(EntityRef value) const;
55
57};
58
59} // namespace VoltMod::Schema
void SetFlags(uint32_t value) const
void SetAbsVelocity(Vector value) const
void SetGravityScale(float value) const
void SetHealth(int32_t value) const
void SetActualMoveType(MoveType_t value) const
void SetMoveTypeRaw(MoveType_t value) const
EntityRef OwnerEntity() const
MoveType_t ActualMoveType() const
EntityRef GroundEntity() const
void SetOwnerEntity(EntityRef value) const
void SetTeamNum(VoltMod::Team value) const
void SetMaxHealth(int32_t value) const
VoltMod::Team TeamNum() const
void SetLifeState(uint8_t value) const
CBodyComponent BodyComponent() const
void SetGroundEntity(EntityRef value) const
MoveType_t MoveTypeRaw() const
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56
::Vector Vector
Definition Math.hpp:11