Bazaar developer reference

CvDllCombatInfo::GetMaxDamageMemberCount() const

Defined in
CvDllCombatInfo.cpp, line 139
Class
CvDllCombatInfo
Hook name
CivHooks::CvDllCombatInfo_GetMaxDamageMemberCount

Hooks

static bool BeforeCvDllCombatInfo_GetMaxDamageMemberCount(const CvDllCombatInfo* self, int& result);static void AfterCvDllCombatInfo_GetMaxDamageMemberCount(const CvDllCombatInfo* self, int& result);static int ReplaceCvDllCombatInfo_GetMaxDamageMemberCount(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_GetMaxDamageMemberCount::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCombatInfo_GetMaxDamageMemberCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetMaxDamageMemberCount::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCombatInfo_GetMaxDamageMemberCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetMaxDamageMemberCount::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCombatInfo_GetMaxDamageMemberCount);

Code

139int CvDllCombatInfo::GetMaxDamageMemberCount() const140{141	return m_pCombatInfo->getMaxDamageMemberCount();142}

Calls