#include <Hooks.h>
|
std::unordered_map< std::string, std::vector< std::shared_ptr< Hook > > > | all_hooks_ |
|
Definition at line 10 of file Hooks.h.
◆ Hooks() [1/3]
◆ Hooks() [2/3]
API::Hooks::Hooks |
( |
const Hooks & | | ) |
|
|
delete |
◆ Hooks() [3/3]
API::Hooks::Hooks |
( |
Hooks && | | ) |
|
|
delete |
◆ ~Hooks()
◆ DisableHook()
bool API::Hooks::DisableHook |
( |
const std::string & | func_name, |
|
|
LPVOID | detour ) |
|
overridevirtual |
Removes a hook from a function.
- Parameters
-
func_name | Function full name |
detour | A pointer to the detour function |
- Returns
- true if success, false otherwise
Implements ArkApi::IHooks.
Definition at line 66 of file Hooks.cpp.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ SetHookInternal()
bool API::Hooks::SetHookInternal |
( |
const std::string & | func_name, |
|
|
LPVOID | detour, |
|
|
LPVOID * | original ) |
|
overridevirtual |
◆ all_hooks_
std::unordered_map<std::string, std::vector<std::shared_ptr<Hook> > > API::Hooks::all_hooks_ |
|
private |
The documentation for this class was generated from the following files:
- C:/Users/lachl/Downloads/ArkServerAPI_NEW/ASE/AseApi-main/version/Core/Private/Hooks.h
- C:/Users/lachl/Downloads/ArkServerAPI_NEW/ASE/AseApi-main/version/Core/Private/Hooks.cpp