Bazaar developer reference

CvDllDeal::GetInstance()

Defined in
CvDllDeal.cpp, line 75
Class
CvDllDeal
Hook name
CivHooks::CvDllDeal_GetInstance

Hooks

static bool BeforeCvDllDeal_GetInstance(CvDllDeal* self, CvDeal*& result);static void AfterCvDllDeal_GetInstance(CvDllDeal* self, CvDeal*& result);static CvDeal* ReplaceCvDllDeal_GetInstance(CvDeal* (*original)(CvDllDeal*), CvDllDeal* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_GetInstance::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllDeal_GetInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_GetInstance::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllDeal_GetInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_GetInstance::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllDeal_GetInstance);

Code

75CvDeal* CvDllDeal::GetInstance()76{77	return m_pDeal;78}

Called by