Bazaar developer reference

CvDllCombatInfo::GetDamageMemberCount() const

Defined in
CvDllCombatInfo.cpp, line 134
Class
CvDllCombatInfo
Hook name
CivHooks::CvDllCombatInfo_GetDamageMemberCount

Hooks

static bool BeforeCvDllCombatInfo_GetDamageMemberCount(const CvDllCombatInfo* self, int& result);static void AfterCvDllCombatInfo_GetDamageMemberCount(const CvDllCombatInfo* self, int& result);static int ReplaceCvDllCombatInfo_GetDamageMemberCount(int (*original)(const CvDllCombatInfo*), const CvDllCombatInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetDamageMemberCount::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCombatInfo_GetDamageMemberCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetDamageMemberCount::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCombatInfo_GetDamageMemberCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetDamageMemberCount::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCombatInfo_GetDamageMemberCount);

Code

134int CvDllCombatInfo::GetDamageMemberCount() const135{136	return m_pCombatInfo->getDamageMemberCount();137}

Calls