Bazaar developer reference

CvDllPlayer::Destroy()

Defined in
CvDllPlayer.cpp, line 74
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_Destroy

Hooks

static bool BeforeCvDllPlayer_Destroy(CvDllPlayer* self);static void AfterCvDllPlayer_Destroy(CvDllPlayer* self);static void ReplaceCvDllPlayer_Destroy(void (*original)(CvDllPlayer*), CvDllPlayer* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_Destroy::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_Destroy::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_Destroy::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_Destroy);

Code

74void CvDllPlayer::Destroy()75{76	DecrementReference();77}

Calls