Bazaar developer reference

CvDllPreGame::activePlayer()

Defined in
CvDllPreGame.cpp, line 50
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_activePlayer

Hooks

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

Code

50PlayerTypes CvDllPreGame::activePlayer()51{52	return CvPreGame::activePlayer();53}

Calls