Bazaar developer reference

CvDllGameDeals::CreateDeal()

Defined in
CvDllGameDeals.cpp, line 160
Class
CvDllGameDeals
Hook name
CivHooks::CvDllGameDeals_CreateDeal

Hooks

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

Code

160unsigned int CvDllGameDeals::CreateDeal()161{162	return m_pGameDeals->CreateDeal();163}

Calls