Bazaar developer reference

CvDllWorldInfo::GetDescriptionKey()

Defined in
CvDllWorldInfo.cpp, line 86
Class
CvDllWorldInfo
Hook name
CivHooks::CvDllWorldInfo_GetDescriptionKey

Hooks

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

Code

86const char* CvDllWorldInfo::GetDescriptionKey()87{88	return m_pWorldInfo->GetDescriptionKey();89}

Calls