VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
ServerSideClients.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace VoltMod
6{
7
8/** Return the client containing @p filter, or nullptr when its offset is unavailable. */
9const void* FilterClient(const Bindings& bindings, const INetworkMessageProcessingPreFilter& filter);
10
11/** @p client's player slot, or -1 when it or the offset is unavailable. */
12int ClientSlot(const Bindings& bindings, const void* client);
13
14} // namespace VoltMod
int ClientSlot(const Bindings &bindings, const void *client)
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56
const void * FilterClient(const Bindings &bindings, const INetworkMessageProcessingPreFilter &filter)