Bazaar developer reference

CvActionInfo::GetStrategy() const

Defined in
CvInfos.cpp, line 1353
Class
CvActionInfo
Hook name
CivHooks::CvActionInfo_GetStrategy

Hooks

static bool BeforeCvActionInfo_GetStrategy(const CvActionInfo* self, const char*& result);static void AfterCvActionInfo_GetStrategy(const CvActionInfo* self, const char*& result);static const char* ReplaceCvActionInfo_GetStrategy(const char* (*original)(const CvActionInfo*), const CvActionInfo* self);CivRegisterBefore<CivHooks::CvActionInfo_GetStrategy>(host, &BeforeCvActionInfo_GetStrategy);CivRegisterAfter<CivHooks::CvActionInfo_GetStrategy>(host, &AfterCvActionInfo_GetStrategy);CivRegisterReplace<CivHooks::CvActionInfo_GetStrategy>(host, &ReplaceCvActionInfo_GetStrategy);

Code

1353const char* CvActionInfo::GetStrategy() const1354{1355	if(getHotkeyInfo())1356	{1357		return getHotkeyInfo()->GetStrategy();1358	}13591360	return "";1361}

Calls