Bazaar developer reference

CvDllPlayer::IsHasLostCapital() const

Defined in
CvDllPlayer.cpp, line 173
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_IsHasLostCapital

Hooks

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

Code

173bool CvDllPlayer::IsHasLostCapital() const174{175	return m_pPlayer->IsHasLostCapital();176}

Calls