Bazaar developer reference

CvDllGameDeals::HasMadeProposal(PlayerTypes)

Defined in
CvDllGameDeals.cpp, line 112
Class
CvDllGameDeals
Hook name
CivHooks::CvDllGameDeals_HasMadeProposal

Hooks

static bool BeforeCvDllGameDeals_HasMadeProposal(CvDllGameDeals* self, PlayerTypes eFromPlayer, PlayerTypes& result);static void AfterCvDllGameDeals_HasMadeProposal(CvDllGameDeals* self, PlayerTypes eFromPlayer, PlayerTypes& result);static PlayerTypes ReplaceCvDllGameDeals_HasMadeProposal(PlayerTypes (*original)(CvDllGameDeals*, PlayerTypes), CvDllGameDeals* self, PlayerTypes eFromPlayer);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameDeals_HasMadeProposal::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameDeals_HasMadeProposal);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameDeals_HasMadeProposal::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameDeals_HasMadeProposal);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameDeals_HasMadeProposal::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameDeals_HasMadeProposal);

Code

112PlayerTypes CvDllGameDeals::HasMadeProposal(PlayerTypes eFromPlayer)113{114	return m_pGameDeals->HasMadeProposal(eFromPlayer);115}

Calls