Bazaar developer reference

CvDllPreGame::Destroy()

Defined in
CvDllPreGame.cpp, line 35
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_Destroy

Hooks

static bool BeforeCvDllPreGame_Destroy(CvDllPreGame* self);static void AfterCvDllPreGame_Destroy(CvDllPreGame* self);static void ReplaceCvDllPreGame_Destroy(void (*original)(CvDllPreGame*), CvDllPreGame* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_Destroy::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_Destroy::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_Destroy::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_Destroy);

Code

35void CvDllPreGame::Destroy()36{37	delete this;38}