Bazaar developer reference

CvCity::IsBusy() const

Defined in
CvCity.cpp, line 17122
Class
CvCity
Hook name
CivHooks::CvCity_IsBusy

Hooks

static bool BeforeCvCity_IsBusy(const CvCity* self, bool& result);static void AfterCvCity_IsBusy(const CvCity* self, bool& result);static bool ReplaceCvCity_IsBusy(bool (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_IsBusy>(host, &BeforeCvCity_IsBusy);CivRegisterAfter<CivHooks::CvCity_IsBusy>(host, &AfterCvCity_IsBusy);CivRegisterReplace<CivHooks::CvCity_IsBusy>(host, &ReplaceCvCity_IsBusy);

Code

17122bool CvCity::IsBusy() const17123{17124	return getCombatUnit() != NULL;17125}

Calls

Called by