Bazaar developer reference

CvDllPreGame::isWhiteFlag(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 365
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_isWhiteFlag

Hooks

static bool BeforeCvDllPreGame_isWhiteFlag(CvDllPreGame* self, PlayerTypes p, bool& result);static void AfterCvDllPreGame_isWhiteFlag(CvDllPreGame* self, PlayerTypes p, bool& result);static bool ReplaceCvDllPreGame_isWhiteFlag(bool (*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_isWhiteFlag::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_isWhiteFlag);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_isWhiteFlag::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_isWhiteFlag);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_isWhiteFlag::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_isWhiteFlag);

Code

365bool CvDllPreGame::isWhiteFlag(PlayerTypes p)366{367	return CvPreGame::isWhiteFlag(p);368}

Calls