Bazaar developer reference

CvDllPromotionInfo::Destroy()

Defined in
CvDllPromotionInfo.cpp, line 61
Class
CvDllPromotionInfo
Hook name
CivHooks::CvDllPromotionInfo_Destroy

Hooks

static bool BeforeCvDllPromotionInfo_Destroy(CvDllPromotionInfo* self);static void AfterCvDllPromotionInfo_Destroy(CvDllPromotionInfo* self);static void ReplaceCvDllPromotionInfo_Destroy(void (*original)(CvDllPromotionInfo*), CvDllPromotionInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPromotionInfo_Destroy::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPromotionInfo_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPromotionInfo_Destroy::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPromotionInfo_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPromotionInfo_Destroy::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPromotionInfo_Destroy);

Code

61void CvDllPromotionInfo::Destroy()62{63	DecrementReference();64}

Calls