Bazaar developer reference

CvPlayer::IsEnablesSSPartPurchase() const

Defined in
CvPlayer.cpp, line 15848
Class
CvPlayer
Hook name
CivHooks::CvPlayer_IsEnablesSSPartPurchase

Hooks

static bool BeforeCvPlayer_IsEnablesSSPartPurchase(const CvPlayer* self, bool& result);static void AfterCvPlayer_IsEnablesSSPartPurchase(const CvPlayer* self, bool& result);static bool ReplaceCvPlayer_IsEnablesSSPartPurchase(bool (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_IsEnablesSSPartPurchase>(host, &BeforeCvPlayer_IsEnablesSSPartPurchase);CivRegisterAfter<CivHooks::CvPlayer_IsEnablesSSPartPurchase>(host, &AfterCvPlayer_IsEnablesSSPartPurchase);CivRegisterReplace<CivHooks::CvPlayer_IsEnablesSSPartPurchase>(host, &ReplaceCvPlayer_IsEnablesSSPartPurchase);

Code

15848bool CvPlayer::IsEnablesSSPartPurchase() const15849{15850	return (GetEnablesSSPartPurchaseCount() > 0);15851}

Calls

Called by