Bazaar developer reference

CvPolicyEntry::GetWeLoveTheKing()

Defined in
CvPolicyClasses.cpp, line 1806
Class
CvPolicyEntry
Hook name
CivHooks::CvPolicyEntry_GetWeLoveTheKing

Hooks

static bool BeforeCvPolicyEntry_GetWeLoveTheKing(CvPolicyEntry* self, const char*& result);static void AfterCvPolicyEntry_GetWeLoveTheKing(CvPolicyEntry* self, const char*& result);static const char* ReplaceCvPolicyEntry_GetWeLoveTheKing(const char* (*original)(CvPolicyEntry*), CvPolicyEntry* self);CivRegisterBefore<CivHooks::CvPolicyEntry_GetWeLoveTheKing>(host, &BeforeCvPolicyEntry_GetWeLoveTheKing);CivRegisterAfter<CivHooks::CvPolicyEntry_GetWeLoveTheKing>(host, &AfterCvPolicyEntry_GetWeLoveTheKing);CivRegisterReplace<CivHooks::CvPolicyEntry_GetWeLoveTheKing>(host, &ReplaceCvPolicyEntry_GetWeLoveTheKing);

Code

1805/// Return "We Love the King" day text1806const char* CvPolicyEntry::GetWeLoveTheKing()1807{1808	return m_wstrWeLoveTheKing.c_str();1809}

Calls

Called by