Hooks
static bool BeforeCvDllPlayer_GetNumPolicyBranchesFinished(const CvDllPlayer* self, int& result);static void AfterCvDllPlayer_GetNumPolicyBranchesFinished(const CvDllPlayer* self, int& result);static int ReplaceCvDllPlayer_GetNumPolicyBranchesFinished(int (*original)(const CvDllPlayer*), const CvDllPlayer* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetNumPolicyBranchesFinished::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_GetNumPolicyBranchesFinished);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetNumPolicyBranchesFinished::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_GetNumPolicyBranchesFinished);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetNumPolicyBranchesFinished::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_GetNumPolicyBranchesFinished);