33#include <VoltMod/Schema/Generated/Wrappers/Controller.inc>
37 int Slot() const noexcept {
return _slot; }
50 bool IsHeld(uint64_t buttons)
const {
return (
Buttons() & buttons) != 0; }
58 void Kick(std::string_view reason)
const;
72 CEntityInstance* _pawn =
nullptr;
void SetMoney(int amount) const
bool IsHeld(uint64_t buttons) const
int Slot() const noexcept
VoltMod::Pawn InputPawn() const
void ChangeTeam(VoltMod::Team team) const
void Kick(std::string_view reason) const
VoltMod::Pawn Pawn() const
Controller & operator=(const Controller &)=delete
Controller(const Controller &)=default
void ExecuteCommand(std::string_view command) const
runtime.Entities: finds and creates entities. Everything it returns is valid for this frame only; see...
A player's body: health, armor, movement, aim, weapons. The engine replaces it on every spawn; the Co...
std::expected< void, Error > Status