Bazaar developer reference

CvPolicyEntry::GetProtectedMinorPerTurnInfluence() const

Defined in
CvPolicyClasses.cpp, line 1593
Class
CvPolicyEntry
Hook name
CivHooks::CvPolicyEntry_GetProtectedMinorPerTurnInfluence

Hooks

static bool BeforeCvPolicyEntry_GetProtectedMinorPerTurnInfluence(const CvPolicyEntry* self, int& result);static void AfterCvPolicyEntry_GetProtectedMinorPerTurnInfluence(const CvPolicyEntry* self, int& result);static int ReplaceCvPolicyEntry_GetProtectedMinorPerTurnInfluence(int (*original)(const CvPolicyEntry*), const CvPolicyEntry* self);CivRegisterBefore<CivHooks::CvPolicyEntry_GetProtectedMinorPerTurnInfluence>(host, &BeforeCvPolicyEntry_GetProtectedMinorPerTurnInfluence);CivRegisterAfter<CivHooks::CvPolicyEntry_GetProtectedMinorPerTurnInfluence>(host, &AfterCvPolicyEntry_GetProtectedMinorPerTurnInfluence);CivRegisterReplace<CivHooks::CvPolicyEntry_GetProtectedMinorPerTurnInfluence>(host, &ReplaceCvPolicyEntry_GetProtectedMinorPerTurnInfluence);

Code

1592/// Influence boost with minors you have a trade route with1593int CvPolicyEntry::GetProtectedMinorPerTurnInfluence() const1594{1595	return m_iProtectedMinorPerTurnInfluence;1596}

Called by