Bazaar developer reference

CvDllGame::CountNumHumanGameTurnActive()

Defined in
CvDllGame.cpp, line 127
Class
CvDllGame
Hook name
CivHooks::CvDllGame_CountNumHumanGameTurnActive

Hooks

static bool BeforeCvDllGame_CountNumHumanGameTurnActive(CvDllGame* self, int& result);static void AfterCvDllGame_CountNumHumanGameTurnActive(CvDllGame* self, int& result);static int ReplaceCvDllGame_CountNumHumanGameTurnActive(int (*original)(CvDllGame*), CvDllGame* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_CountNumHumanGameTurnActive::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_CountNumHumanGameTurnActive);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_CountNumHumanGameTurnActive::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_CountNumHumanGameTurnActive);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_CountNumHumanGameTurnActive::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_CountNumHumanGameTurnActive);

Code

127int CvDllGame::CountNumHumanGameTurnActive()128{129	return m_pGame->countNumHumanGameTurnActive();130}

Calls