Bazaar developer reference

CvDllPreGame::leaderHead(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 370
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_leaderHead

Hooks

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

Code

370LeaderHeadTypes CvDllPreGame::leaderHead(PlayerTypes p)371{372	return CvPreGame::leaderHead(p);373}

Calls