Bazaar developer reference

CvCity::GetIDInfo() const

Defined in
CvCity.cpp, line 7647
Class
CvCity
Hook name
CivHooks::CvCity_GetIDInfo

Hooks

static bool BeforeCvCity_GetIDInfo(const CvCity* self, IDInfo& result);static void AfterCvCity_GetIDInfo(const CvCity* self, IDInfo& result);static IDInfo ReplaceCvCity_GetIDInfo(IDInfo (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_GetIDInfo>(host, &BeforeCvCity_GetIDInfo);CivRegisterAfter<CivHooks::CvCity_GetIDInfo>(host, &AfterCvCity_GetIDInfo);CivRegisterReplace<CivHooks::CvCity_GetIDInfo>(host, &ReplaceCvCity_GetIDInfo);

Code

7647IDInfo CvCity::GetIDInfo() const7648{7649	VALIDATE_OBJECT7650	IDInfo city(getOwner(), GetID());7651	return city;7652}

Calls

Called by