Bazaar developer reference

CvDllPlayer::GetScore(bool, bool) const

Defined in
CvDllPlayer.cpp, line 156
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_GetScore

Hooks

static bool BeforeCvDllPlayer_GetScore(const CvDllPlayer* self, bool bFinal, bool bVictory, int& result);static void AfterCvDllPlayer_GetScore(const CvDllPlayer* self, bool bFinal, bool bVictory, int& result);static int ReplaceCvDllPlayer_GetScore(int (*original)(const CvDllPlayer*, bool, bool), const CvDllPlayer* self, bool bFinal, bool bVictory);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetScore::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_GetScore);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetScore::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_GetScore);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetScore::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_GetScore);

Code

156int CvDllPlayer::GetScore(bool bFinal, bool bVictory) const157{158	return m_pPlayer->GetScore(bFinal, bVictory);159}

Calls