Bazaar developer reference

CvDllPlot::IsFighting() const

Defined in
CvDllPlot.cpp, line 139
Class
CvDllPlot
Hook name
CivHooks::CvDllPlot_IsFighting

Hooks

static bool BeforeCvDllPlot_IsFighting(const CvDllPlot* self, bool& result);static void AfterCvDllPlot_IsFighting(const CvDllPlot* self, bool& result);static bool ReplaceCvDllPlot_IsFighting(bool (*original)(const CvDllPlot*), const CvDllPlot* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_IsFighting::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_IsFighting);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_IsFighting::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_IsFighting);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_IsFighting::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_IsFighting);

Code

139bool CvDllPlot::IsFighting() const140{141	return m_pPlot->isFighting();142}

Calls