Bazaar developer reference

CvPolicyEntry::IsDummy() const

Defined in
CvPolicyClasses.cpp, line 1787
Class
CvPolicyEntry
Hook name
CivHooks::CvPolicyEntry_IsDummy

Hooks

static bool BeforeCvPolicyEntry_IsDummy(const CvPolicyEntry* self, bool& result);static void AfterCvPolicyEntry_IsDummy(const CvPolicyEntry* self, bool& result);static bool ReplaceCvPolicyEntry_IsDummy(bool (*original)(const CvPolicyEntry*), const CvPolicyEntry* self);CivRegisterBefore<CivHooks::CvPolicyEntry_IsDummy>(host, &BeforeCvPolicyEntry_IsDummy);CivRegisterAfter<CivHooks::CvPolicyEntry_IsDummy>(host, &AfterCvPolicyEntry_IsDummy);CivRegisterReplace<CivHooks::CvPolicyEntry_IsDummy>(host, &ReplaceCvPolicyEntry_IsDummy);

Code

1785#if defined(MOD_BUGFIX_DUMMY_POLICIES)1786/// Is this a dummy policy1787bool CvPolicyEntry::IsDummy() const1788{1789	return m_bDummy;1790}

Called by