Bazaar developer reference

CvDllPlayerColorInfo::Destroy()

Defined in
CvDllPlayerColorInfo.cpp, line 60
Class
CvDllPlayerColorInfo
Hook name
CivHooks::CvDllPlayerColorInfo_Destroy

Hooks

static bool BeforeCvDllPlayerColorInfo_Destroy(CvDllPlayerColorInfo* self);static void AfterCvDllPlayerColorInfo_Destroy(CvDllPlayerColorInfo* self);static void ReplaceCvDllPlayerColorInfo_Destroy(void (*original)(CvDllPlayerColorInfo*), CvDllPlayerColorInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayerColorInfo_Destroy::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayerColorInfo_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayerColorInfo_Destroy::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayerColorInfo_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayerColorInfo_Destroy::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayerColorInfo_Destroy);

Code

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

Calls