Bazaar developer reference

CvPolicyEntry::GetFreeBuildingOnConquest() const

Defined in
CvPolicyClasses.cpp, line 2291
Class
CvPolicyEntry
Hook name
CivHooks::CvPolicyEntry_GetFreeBuildingOnConquest

Hooks

static bool BeforeCvPolicyEntry_GetFreeBuildingOnConquest(const CvPolicyEntry* self, BuildingTypes& result);static void AfterCvPolicyEntry_GetFreeBuildingOnConquest(const CvPolicyEntry* self, BuildingTypes& result);static BuildingTypes ReplaceCvPolicyEntry_GetFreeBuildingOnConquest(BuildingTypes (*original)(const CvPolicyEntry*), const CvPolicyEntry* self);CivRegisterBefore<CivHooks::CvPolicyEntry_GetFreeBuildingOnConquest>(host, &BeforeCvPolicyEntry_GetFreeBuildingOnConquest);CivRegisterAfter<CivHooks::CvPolicyEntry_GetFreeBuildingOnConquest>(host, &AfterCvPolicyEntry_GetFreeBuildingOnConquest);CivRegisterReplace<CivHooks::CvPolicyEntry_GetFreeBuildingOnConquest>(host, &ReplaceCvPolicyEntry_GetFreeBuildingOnConquest);

Code

2290/// Free building in each city conquered2291BuildingTypes CvPolicyEntry::GetFreeBuildingOnConquest() const2292{2293	return m_eFreeBuildingOnConquest;2294}

Called by