Bazaar developer reference

CvPolicyEntry::IsAbleToAnnexCityStates() const

Defined in
CvPolicyClasses.cpp, line 1780
Class
CvPolicyEntry
Hook name
CivHooks::CvPolicyEntry_IsAbleToAnnexCityStates

Hooks

static bool BeforeCvPolicyEntry_IsAbleToAnnexCityStates(const CvPolicyEntry* self, bool& result);static void AfterCvPolicyEntry_IsAbleToAnnexCityStates(const CvPolicyEntry* self, bool& result);static bool ReplaceCvPolicyEntry_IsAbleToAnnexCityStates(bool (*original)(const CvPolicyEntry*), const CvPolicyEntry* self);CivRegisterBefore<CivHooks::CvPolicyEntry_IsAbleToAnnexCityStates>(host, &BeforeCvPolicyEntry_IsAbleToAnnexCityStates);CivRegisterAfter<CivHooks::CvPolicyEntry_IsAbleToAnnexCityStates>(host, &AfterCvPolicyEntry_IsAbleToAnnexCityStates);CivRegisterReplace<CivHooks::CvPolicyEntry_IsAbleToAnnexCityStates>(host, &ReplaceCvPolicyEntry_IsAbleToAnnexCityStates);

Code

1779/// Are we able to buy out City-States?1780bool CvPolicyEntry::IsAbleToAnnexCityStates() const1781{1782	return m_bAbleToAnnexCityStates;1783}

Called by