mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-10-22 03:09:45 -04:00
move GameInteractor::RemoveAllQueuedHooks body to cpp (#7422)
This commit is contained in:
@@ -18,6 +18,14 @@ extern "C" {
|
||||
extern PlayState* gPlayState;
|
||||
}
|
||||
|
||||
void GameInteractor::RemoveAllQueuedHooks() {
|
||||
#define DEFINE_HOOK(name, _) ProcessUnregisteredHooks<name>();
|
||||
|
||||
#include "GameInteractor_HookTable.h"
|
||||
|
||||
#undef DEFINE_HOOK
|
||||
}
|
||||
|
||||
// MARK: - Effects
|
||||
|
||||
GameInteractionEffectQueryResult GameInteractor::CanApplyEffect(GameInteractionEffectBase& effect) {
|
||||
|
||||
@@ -492,13 +492,7 @@ class GameInteractor {
|
||||
HooksToUnregister<H>::hooksForFilter.clear();
|
||||
}
|
||||
|
||||
void RemoveAllQueuedHooks() {
|
||||
#define DEFINE_HOOK(name, _) ProcessUnregisteredHooks<name>();
|
||||
|
||||
#include "GameInteractor_HookTable.h"
|
||||
|
||||
#undef DEFINE_HOOK
|
||||
}
|
||||
void RemoveAllQueuedHooks();
|
||||
|
||||
class HookFilter {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user