Bazaar developer reference

CvDllGameOptionInfo::GetDescription()

Defined in
CvDllGameOptionInfo.cpp, line 85
Class
CvDllGameOptionInfo
Hook name
CivHooks::CvDllGameOptionInfo_GetDescription

Hooks

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

Code

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

Calls