CvAchievementUnlocker::EndTurn()
- Defined in
- CvAchievementUnlocker.cpp, line 64
- Class
- CvAchievementUnlocker
- Hook name
CivHooks::CvAchievementUnlocker_EndTurn
Hooks
static bool BeforeCvAchievementUnlocker_EndTurn();static void AfterCvAchievementUnlocker_EndTurn();static void ReplaceCvAchievementUnlocker_EndTurn(void (*original)());CivRegisterBefore<CivHooks::CvAchievementUnlocker_EndTurn>(host, &BeforeCvAchievementUnlocker_EndTurn);CivRegisterAfter<CivHooks::CvAchievementUnlocker_EndTurn>(host, &AfterCvAchievementUnlocker_EndTurn);CivRegisterReplace<CivHooks::CvAchievementUnlocker_EndTurn>(host, &ReplaceCvAchievementUnlocker_EndTurn);
Code
64void CvAchievementUnlocker::EndTurn()65{66 //Reset the per turn counters.67 ms_iNumImprovementsPillagedPerTurn = 0;68}