Bazaar developer reference

CvDllPreGame::setMinorCivType(PlayerTypes, MinorCivTypes)

Defined in
CvDllPreGame.cpp, line 850
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setMinorCivType

Hooks

static bool BeforeCvDllPreGame_setMinorCivType(CvDllPreGame* self, PlayerTypes p, MinorCivTypes m);static void AfterCvDllPreGame_setMinorCivType(CvDllPreGame* self, PlayerTypes p, MinorCivTypes m);static void ReplaceCvDllPreGame_setMinorCivType(void (*original)(CvDllPreGame*, PlayerTypes, MinorCivTypes), CvDllPreGame* self, PlayerTypes p, MinorCivTypes m);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMinorCivType::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setMinorCivType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMinorCivType::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setMinorCivType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMinorCivType::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setMinorCivType);

Code

850void CvDllPreGame::setMinorCivType(PlayerTypes p, MinorCivTypes m)851{852	CvPreGame::setMinorCivType(p, m);853}

Calls