Hooks
static bool BeforeCvLuaPlayer_lGetNumPolicyBranchesAllowed(lua_State* L, int& result);static void AfterCvLuaPlayer_lGetNumPolicyBranchesAllowed(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lGetNumPolicyBranchesAllowed(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lGetNumPolicyBranchesAllowed>(host, &BeforeCvLuaPlayer_lGetNumPolicyBranchesAllowed);CivRegisterAfter<CivHooks::CvLuaPlayer_lGetNumPolicyBranchesAllowed>(host, &AfterCvLuaPlayer_lGetNumPolicyBranchesAllowed);CivRegisterReplace<CivHooks::CvLuaPlayer_lGetNumPolicyBranchesAllowed>(host, &ReplaceCvLuaPlayer_lGetNumPolicyBranchesAllowed);