Bazaar developer reference

CvPlayerTechs::FlavorUpdate()

Defined in
CvTechClasses.cpp, line 883
Class
CvPlayerTechs
Hook name
CivHooks::CvPlayerTechs_FlavorUpdate
Overrides
CvFlavorRecipient::FlavorUpdate()

Hooks

static bool BeforeCvPlayerTechs_FlavorUpdate(CvPlayerTechs* self);static void AfterCvPlayerTechs_FlavorUpdate(CvPlayerTechs* self);static void ReplaceCvPlayerTechs_FlavorUpdate(void (*original)(CvPlayerTechs*), CvPlayerTechs* self);CivRegisterBefore<CivHooks::CvPlayerTechs_FlavorUpdate>(host, &BeforeCvPlayerTechs_FlavorUpdate);CivRegisterAfter<CivHooks::CvPlayerTechs_FlavorUpdate>(host, &AfterCvPlayerTechs_FlavorUpdate);CivRegisterReplace<CivHooks::CvPlayerTechs_FlavorUpdate>(host, &ReplaceCvPlayerTechs_FlavorUpdate);

Code

882/// Respond to a new set of flavor values883void CvPlayerTechs::FlavorUpdate()884{885	SetLocalePriorities();886	AddFlavorAsStrategies(GC.getTECH_WEIGHT_PROPAGATION_PERCENT());887}

Calls