Bazaar developer reference

CvPlot::IsResourceForceReveal(TeamTypes) const

Defined in
CvPlot.cpp, line 9098
Class
CvPlot
Hook name
CivHooks::CvPlot_IsResourceForceReveal

Hooks

static bool BeforeCvPlot_IsResourceForceReveal(const CvPlot* self, TeamTypes eTeam, bool& result);static void AfterCvPlot_IsResourceForceReveal(const CvPlot* self, TeamTypes eTeam, bool& result);static bool ReplaceCvPlot_IsResourceForceReveal(bool (*original)(const CvPlot*, TeamTypes), const CvPlot* self, TeamTypes eTeam);CivRegisterBefore<CivHooks::CvPlot_IsResourceForceReveal>(host, &BeforeCvPlot_IsResourceForceReveal);CivRegisterAfter<CivHooks::CvPlot_IsResourceForceReveal>(host, &AfterCvPlot_IsResourceForceReveal);CivRegisterReplace<CivHooks::CvPlot_IsResourceForceReveal>(host, &ReplaceCvPlot_IsResourceForceReveal);

Code

9097/// Force reveal a Resource for a team (for Goody Huts)9098bool CvPlot::IsResourceForceReveal(TeamTypes eTeam) const9099{9100	return m_abResourceForceReveal[eTeam];9101}

Called by