|
VoltMod
C++23 framework for CS2 server plugins
|
The FilterMessage hook for every plugin: custom HUD button presses, raised on the frame after they arrive. Game thread only. More...
#include <ButtonPresses.hpp>
Public Member Functions | |
| ButtonPresses (const Bindings &bindings, const EngineInterfaces &engine, PluginRegistry ®istry) | |
| ButtonPresses (const ButtonPresses &)=delete | |
| ButtonPresses & | operator= (const ButtonPresses &)=delete |
| void | OnFrame () |
The FilterMessage hook for every plugin: custom HUD button presses, raised on the frame after they arrive. Game thread only.
Definition at line 21 of file ButtonPresses.hpp.
| VoltMod::ButtonPresses::ButtonPresses | ( | const Bindings & | bindings, |
| const EngineInterfaces & | engine, | ||
| PluginRegistry & | registry | ||
| ) |
A missing message registry hooks nothing. bindings and registry must outlive this.
Definition at line 26 of file ButtonPresses.cpp.
References VoltMod::ReadFile(), and VoltMod::Log::Warn().
|
delete |
| void VoltMod::ButtonPresses::OnFrame | ( | ) |
Raise the presses that arrived since the last frame.
Definition at line 65 of file ButtonPresses.cpp.
References VoltMod::PluginRegistry::RaiseButtonPress(), and VoltMod::ReadFile().
|
delete |
References VoltMod::Slot.