Bazaar developer reference

CvPlayerPolicies::GetNumExtraBranches() const

Defined in
CvPolicyClasses.cpp, line 4299
Class
CvPlayerPolicies
Hook name
CivHooks::CvPlayerPolicies_GetNumExtraBranches

Hooks

static bool BeforeCvPlayerPolicies_GetNumExtraBranches(const CvPlayerPolicies* self, int& result);static void AfterCvPlayerPolicies_GetNumExtraBranches(const CvPlayerPolicies* self, int& result);static int ReplaceCvPlayerPolicies_GetNumExtraBranches(int (*original)(const CvPlayerPolicies*), const CvPlayerPolicies* self);CivRegisterBefore<CivHooks::CvPlayerPolicies_GetNumExtraBranches>(host, &BeforeCvPlayerPolicies_GetNumExtraBranches);CivRegisterAfter<CivHooks::CvPlayerPolicies_GetNumExtraBranches>(host, &AfterCvPlayerPolicies_GetNumExtraBranches);CivRegisterReplace<CivHooks::CvPlayerPolicies_GetNumExtraBranches>(host, &ReplaceCvPlayerPolicies_GetNumExtraBranches);

Code

4298/// Number of extra branches we're allowed to pick from4299int CvPlayerPolicies::GetNumExtraBranches() const4300{4301	return m_iNumExtraBranches;4302}

Called by