Bazaar developer reference

CvDllHandicapInfo::GetBarbSpawnMod()

Defined in
CvDllHandicapInfo.cpp, line 90
Class
CvDllHandicapInfo
Hook name
CivHooks::CvDllHandicapInfo_GetBarbSpawnMod

Hooks

static bool BeforeCvDllHandicapInfo_GetBarbSpawnMod(CvDllHandicapInfo* self, int& result);static void AfterCvDllHandicapInfo_GetBarbSpawnMod(CvDllHandicapInfo* self, int& result);static int ReplaceCvDllHandicapInfo_GetBarbSpawnMod(int (*original)(CvDllHandicapInfo*), CvDllHandicapInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllHandicapInfo_GetBarbSpawnMod::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllHandicapInfo_GetBarbSpawnMod);host->RegisterHook(host->pluginIndex, CivHooks::CvDllHandicapInfo_GetBarbSpawnMod::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllHandicapInfo_GetBarbSpawnMod);host->RegisterHook(host->pluginIndex, CivHooks::CvDllHandicapInfo_GetBarbSpawnMod::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllHandicapInfo_GetBarbSpawnMod);

Code

90int CvDllHandicapInfo::GetBarbSpawnMod()91{92	return m_pHandicapInfo->getBarbSpawnMod();93}

Calls