Bazaar developer reference

CvDllPlayerOptionInfo::Destroy()

Defined in
CvDllPlayerOptionInfo.cpp, line 60
Class
CvDllPlayerOptionInfo
Hook name
CivHooks::CvDllPlayerOptionInfo_Destroy

Hooks

static bool BeforeCvDllPlayerOptionInfo_Destroy(CvDllPlayerOptionInfo* self);static void AfterCvDllPlayerOptionInfo_Destroy(CvDllPlayerOptionInfo* self);static void ReplaceCvDllPlayerOptionInfo_Destroy(void (*original)(CvDllPlayerOptionInfo*), CvDllPlayerOptionInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayerOptionInfo_Destroy::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayerOptionInfo_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayerOptionInfo_Destroy::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayerOptionInfo_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayerOptionInfo_Destroy::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayerOptionInfo_Destroy);

Code

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

Calls