Bazaar developer reference

CvDllWorldInfo::GetType()

Defined in
CvDllWorldInfo.cpp, line 81
Class
CvDllWorldInfo
Hook name
CivHooks::CvDllWorldInfo_GetType

Hooks

static bool BeforeCvDllWorldInfo_GetType(CvDllWorldInfo* self, const char*& result);static void AfterCvDllWorldInfo_GetType(CvDllWorldInfo* self, const char*& result);static const char* ReplaceCvDllWorldInfo_GetType(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_GetType::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllWorldInfo_GetType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllWorldInfo_GetType::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllWorldInfo_GetType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllWorldInfo_GetType::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllWorldInfo_GetType);

Code

81const char* CvDllWorldInfo::GetType()82{83	return m_pWorldInfo->GetType();84}

Calls