Bazaar developer reference

CvDllGame::GetPbemTurnSent() const

Defined in
CvDllGame.cpp, line 234
Class
CvDllGame
Hook name
CivHooks::CvDllGame_GetPbemTurnSent

Hooks

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

Code

234bool CvDllGame::GetPbemTurnSent() const235{236	return m_pGame->getPbemTurnSent();237}

Calls