Bazaar developer reference

CvDllPreGame::setLeaderHead(PlayerTypes, LeaderHeadTypes)

Defined in
CvDllPreGame.cpp, line 780
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setLeaderHead

Hooks

static bool BeforeCvDllPreGame_setLeaderHead(CvDllPreGame* self, PlayerTypes p, LeaderHeadTypes l);static void AfterCvDllPreGame_setLeaderHead(CvDllPreGame* self, PlayerTypes p, LeaderHeadTypes l);static void ReplaceCvDllPreGame_setLeaderHead(void (*original)(CvDllPreGame*, PlayerTypes, LeaderHeadTypes), CvDllPreGame* self, PlayerTypes p, LeaderHeadTypes l);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setLeaderHead::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setLeaderHead);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setLeaderHead::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setLeaderHead);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setLeaderHead::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setLeaderHead);

Code

780void CvDllPreGame::setLeaderHead(PlayerTypes p, LeaderHeadTypes l)781{782	CvPreGame::setLeaderHead(p, l);783}

Calls