Bazaar developer reference

CvPlayer::IsPlotUnderImmediateThreat(CvPlot &) const

Defined in
CvPlayer.cpp, line 26748
Class
CvPlayer
Hook name
CivHooks::CvPlayer_IsPlotUnderImmediateThreat

Hooks

static bool BeforeCvPlayer_IsPlotUnderImmediateThreat(const CvPlayer* self, CvPlot& pPlot, bool& result);static void AfterCvPlayer_IsPlotUnderImmediateThreat(const CvPlayer* self, CvPlot& pPlot, bool& result);static bool ReplaceCvPlayer_IsPlotUnderImmediateThreat(bool (*original)(const CvPlayer*, CvPlot&), const CvPlayer* self, CvPlot& pPlot);CivRegisterBefore<CivHooks::CvPlayer_IsPlotUnderImmediateThreat>(host, &BeforeCvPlayer_IsPlotUnderImmediateThreat);CivRegisterAfter<CivHooks::CvPlayer_IsPlotUnderImmediateThreat>(host, &AfterCvPlayer_IsPlotUnderImmediateThreat);CivRegisterReplace<CivHooks::CvPlayer_IsPlotUnderImmediateThreat>(host, &ReplaceCvPlayer_IsPlotUnderImmediateThreat);

Code

26748bool CvPlayer::IsPlotUnderImmediateThreat(CvPlot& pPlot) const26749{26750	return m_pDangerPlots->IsUnderImmediateThreat(pPlot);26751}

Calls

Called by