Hooks
static bool BeforeCvPlayerPolicies_GetNumPolicyBranchesAllowed(const CvPlayerPolicies* self, int& result);static void AfterCvPlayerPolicies_GetNumPolicyBranchesAllowed(const CvPlayerPolicies* self, int& result);static int ReplaceCvPlayerPolicies_GetNumPolicyBranchesAllowed(int (*original)(const CvPlayerPolicies*), const CvPlayerPolicies* self);CivRegisterBefore<CivHooks::CvPlayerPolicies_GetNumPolicyBranchesAllowed>(host, &BeforeCvPlayerPolicies_GetNumPolicyBranchesAllowed);CivRegisterAfter<CivHooks::CvPlayerPolicies_GetNumPolicyBranchesAllowed>(host, &AfterCvPlayerPolicies_GetNumPolicyBranchesAllowed);CivRegisterReplace<CivHooks::CvPlayerPolicies_GetNumPolicyBranchesAllowed>(host, &ReplaceCvPlayerPolicies_GetNumPolicyBranchesAllowed);