VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
OriginalSlotLookup.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <functional>
4
5
namespace
VoltMod
6
{
7
8
/**
9
* Reads the value that @p vtable's @p index held before a hook patched it, or nullptr. An empty
10
* lookup reads the current slot. The injected lookup keeps vtable searches SDK-free; the default
11
* implementation is `ReadOriginalSlot` in Detours.hpp.
12
*/
13
using
OriginalSlotLookup
= std::function<
const
void
*(
void
**
vtable
,
int
index)>;
14
15
}
// namespace VoltMod
VoltMod
Definition
Options.hpp:13
VoltMod::ReadFile
static std::string ReadFile(const std::filesystem::path &path)
Definition
Loader.cpp:56
VoltMod::OriginalSlotLookup
std::function< const void *(void **vtable, int index)> OriginalSlotLookup
Definition
OriginalSlotLookup.hpp:13
include
VoltMod
Engine
Memory
OriginalSlotLookup.hpp
Generated by
1.9.8