Bazaar developer reference

CvDllPlayer::GetArtStyleType() const

Defined in
CvDllPlayer.cpp, line 134
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_GetArtStyleType

Hooks

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

Code

134ArtStyleTypes CvDllPlayer::GetArtStyleType() const135{136	return m_pPlayer->getArtStyleType();137}

Calls