Bazaar developer reference

CvDllDeal::GetStartTurn()

Defined in
CvDllDeal.cpp, line 95
Class
CvDllDeal
Hook name
CivHooks::CvDllDeal_GetStartTurn

Hooks

static bool BeforeCvDllDeal_GetStartTurn(CvDllDeal* self, unsigned int& result);static void AfterCvDllDeal_GetStartTurn(CvDllDeal* self, unsigned int& result);static unsigned int ReplaceCvDllDeal_GetStartTurn(unsigned int (*original)(CvDllDeal*), CvDllDeal* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_GetStartTurn::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllDeal_GetStartTurn);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_GetStartTurn::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllDeal_GetStartTurn);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_GetStartTurn::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllDeal_GetStartTurn);

Code

95unsigned int CvDllDeal::GetStartTurn()96{97	return m_pDeal->GetStartTurn();98}

Calls