Bazaar developer reference

CvDllGameSpeedInfo::GetDescription()

Defined in
CvDllGameSpeedInfo.cpp, line 85
Class
CvDllGameSpeedInfo
Hook name
CivHooks::CvDllGameSpeedInfo_GetDescription

Hooks

static bool BeforeCvDllGameSpeedInfo_GetDescription(CvDllGameSpeedInfo* self, const char*& result);static void AfterCvDllGameSpeedInfo_GetDescription(CvDllGameSpeedInfo* self, const char*& result);static const char* ReplaceCvDllGameSpeedInfo_GetDescription(const char* (*original)(CvDllGameSpeedInfo*), CvDllGameSpeedInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameSpeedInfo_GetDescription::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameSpeedInfo_GetDescription);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameSpeedInfo_GetDescription::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameSpeedInfo_GetDescription);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameSpeedInfo_GetDescription::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameSpeedInfo_GetDescription);

Code

85const char* CvDllGameSpeedInfo::GetDescription()86{87	return m_pGameSpeedInfo->GetDescription();88}

Calls