Bazaar developer reference

CvCity::IsPuppet() const

Defined in
CvCity.cpp, line 9614
Class
CvCity
Hook name
CivHooks::CvCity_IsPuppet

Hooks

static bool BeforeCvCity_IsPuppet(const CvCity* self, bool& result);static void AfterCvCity_IsPuppet(const CvCity* self, bool& result);static bool ReplaceCvCity_IsPuppet(bool (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_IsPuppet>(host, &BeforeCvCity_IsPuppet);CivRegisterAfter<CivHooks::CvCity_IsPuppet>(host, &AfterCvCity_IsPuppet);CivRegisterReplace<CivHooks::CvCity_IsPuppet>(host, &ReplaceCvCity_IsPuppet);

Code

9613/// Has this City been turned into a puppet by someone capturing it?9614bool CvCity::IsPuppet() const9615{9616	VALIDATE_OBJECT9617	return m_bPuppet;9618}

Calls

Called by

33 functions in 14 files