Bazaar developer reference

CvActionInfo::GetType() const

Defined in
CvInfos.cpp, line 1303
Class
CvActionInfo
Hook name
CivHooks::CvActionInfo_GetType

Hooks

static bool BeforeCvActionInfo_GetType(const CvActionInfo* self, const char*& result);static void AfterCvActionInfo_GetType(const CvActionInfo* self, const char*& result);static const char* ReplaceCvActionInfo_GetType(const char* (*original)(const CvActionInfo*), const CvActionInfo* self);CivRegisterBefore<CivHooks::CvActionInfo_GetType>(host, &BeforeCvActionInfo_GetType);CivRegisterAfter<CivHooks::CvActionInfo_GetType>(host, &AfterCvActionInfo_GetType);CivRegisterReplace<CivHooks::CvActionInfo_GetType>(host, &ReplaceCvActionInfo_GetType);

Code

1303const char* CvActionInfo::GetType() const1304{1305	if(getHotkeyInfo())1306	{1307		return getHotkeyInfo()->GetType();1308	}13091310	return NULL;1311}

Calls

Called by