Bazaar developer reference

CvDllPlayer::GetEmbarkedGraphicOverride()

Defined in
CvDllPlayer.cpp, line 371
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_GetEmbarkedGraphicOverride

Hooks

static bool BeforeCvDllPlayer_GetEmbarkedGraphicOverride(CvDllPlayer* self, const char*& result);static void AfterCvDllPlayer_GetEmbarkedGraphicOverride(CvDllPlayer* self, const char*& result);static const char* ReplaceCvDllPlayer_GetEmbarkedGraphicOverride(const char* (*original)(CvDllPlayer*), CvDllPlayer* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetEmbarkedGraphicOverride::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_GetEmbarkedGraphicOverride);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetEmbarkedGraphicOverride::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_GetEmbarkedGraphicOverride);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetEmbarkedGraphicOverride::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_GetEmbarkedGraphicOverride);

Code

371const char* CvDllPlayer::GetEmbarkedGraphicOverride()372{373	return m_pPlayer->GetEmbarkedGraphicOverride();374}

Calls