CvDealAI::Reset()
- Defined in
- CvDealAI.cpp, line 49
- Class
- CvDealAI
- Hook name
CivHooks::CvDealAI_Reset
Hooks
static bool BeforeCvDealAI_Reset(CvDealAI* self);static void AfterCvDealAI_Reset(CvDealAI* self);static void ReplaceCvDealAI_Reset(void (*original)(CvDealAI*), CvDealAI* self);CivRegisterBefore<CivHooks::CvDealAI_Reset>(host, &BeforeCvDealAI_Reset);CivRegisterAfter<CivHooks::CvDealAI_Reset>(host, &AfterCvDealAI_Reset);CivRegisterReplace<CivHooks::CvDealAI_Reset>(host, &ReplaceCvDealAI_Reset);
Code
48/// Reset49void CvDealAI::Reset()50{51 m_iCachedValueOfPeaceWithHuman = 0;52}