Bazaar developer reference

CvDllPreGame::resetPlayer(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 535
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_resetPlayer

Hooks

static bool BeforeCvDllPreGame_resetPlayer(CvDllPreGame* self, PlayerTypes p);static void AfterCvDllPreGame_resetPlayer(CvDllPreGame* self, PlayerTypes p);static void ReplaceCvDllPreGame_resetPlayer(void (*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_resetPlayer::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_resetPlayer);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_resetPlayer::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_resetPlayer);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_resetPlayer::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_resetPlayer);

Code

535void CvDllPreGame::resetPlayer(PlayerTypes p)536{537	CvPreGame::resetPlayer(p);538}

Calls