Bazaar developer reference

CvDllCity::IsPuppet() const

Defined in
CvDllCity.cpp, line 138
Class
CvDllCity
Hook name
CivHooks::CvDllCity_IsPuppet

Hooks

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

Code

138bool CvDllCity::IsPuppet() const139{140	return m_pCity->IsPuppet();141}

Calls