Bazaar developer reference

CvDllInterfaceModeInfo::Destroy()

Defined in
CvDllInterfaceModeInfo.cpp, line 60
Class
CvDllInterfaceModeInfo
Hook name
CivHooks::CvDllInterfaceModeInfo_Destroy

Hooks

static bool BeforeCvDllInterfaceModeInfo_Destroy(CvDllInterfaceModeInfo* self);static void AfterCvDllInterfaceModeInfo_Destroy(CvDllInterfaceModeInfo* self);static void ReplaceCvDllInterfaceModeInfo_Destroy(void (*original)(CvDllInterfaceModeInfo*), CvDllInterfaceModeInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllInterfaceModeInfo_Destroy::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllInterfaceModeInfo_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllInterfaceModeInfo_Destroy::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllInterfaceModeInfo_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllInterfaceModeInfo_Destroy::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllInterfaceModeInfo_Destroy);

Code

60void CvDllInterfaceModeInfo::Destroy()61{62	DecrementReference();63}

Calls