Bazaar developer reference

CvDllCity::GetOwner() const

Defined in
CvDllCity.cpp, line 86
Class
CvDllCity
Hook name
CivHooks::CvDllCity_GetOwner

Hooks

static bool BeforeCvDllCity_GetOwner(const CvDllCity* self, PlayerTypes& result);static void AfterCvDllCity_GetOwner(const CvDllCity* self, PlayerTypes& result);static PlayerTypes ReplaceCvDllCity_GetOwner(PlayerTypes (*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_GetOwner::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCity_GetOwner);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetOwner::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCity_GetOwner);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetOwner::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCity_GetOwner);

Code

86PlayerTypes CvDllCity::GetOwner() const87{88	return m_pCity->getOwner();89}

Calls