Bazaar developer reference

CvDllGameContext::ResetPathFinder()

Defined in
CvDllContext.cpp, line 1348
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_ResetPathFinder

Hooks

static bool BeforeCvDllGameContext_ResetPathFinder(CvDllGameContext* self);static void AfterCvDllGameContext_ResetPathFinder(CvDllGameContext* self);static void ReplaceCvDllGameContext_ResetPathFinder(void (*original)(CvDllGameContext*), CvDllGameContext* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_ResetPathFinder::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_ResetPathFinder);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_ResetPathFinder::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_ResetPathFinder);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_ResetPathFinder::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_ResetPathFinder);

Code

1348void CvDllGameContext::ResetPathFinder()1349{1350	GC.getInterfacePathFinder().ForceReset();1351}

Calls