Bazaar developer reference

CvDllTeam::GetAtWarCount(bool) const

Defined in
CvDllTeam.cpp, line 84
Class
CvDllTeam
Hook name
CivHooks::CvDllTeam_GetAtWarCount

Hooks

static bool BeforeCvDllTeam_GetAtWarCount(const CvDllTeam* self, bool bIgnoreMinors, int& result);static void AfterCvDllTeam_GetAtWarCount(const CvDllTeam* self, bool bIgnoreMinors, int& result);static int ReplaceCvDllTeam_GetAtWarCount(int (*original)(const CvDllTeam*, bool), const CvDllTeam* self, bool bIgnoreMinors);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetAtWarCount::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTeam_GetAtWarCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetAtWarCount::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTeam_GetAtWarCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetAtWarCount::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTeam_GetAtWarCount);

Code

84int CvDllTeam::GetAtWarCount(bool bIgnoreMinors) const85{86	return m_pTeam->getAtWarCount(bIgnoreMinors);87}

Calls