Bazaar developer reference

CvCity::changeSpecialistProduction(SpecialistTypes, int)

Defined in
CvCity.cpp, line 11446
Class
CvCity
Hook name
CivHooks::CvCity_changeSpecialistProduction

Hooks

static bool BeforeCvCity_changeSpecialistProduction(CvCity* self, SpecialistTypes eIndex, int iChange);static void AfterCvCity_changeSpecialistProduction(CvCity* self, SpecialistTypes eIndex, int iChange);static void ReplaceCvCity_changeSpecialistProduction(void (*original)(CvCity*, SpecialistTypes, int), CvCity* self, SpecialistTypes eIndex, int iChange);CivRegisterBefore<CivHooks::CvCity_changeSpecialistProduction>(host, &BeforeCvCity_changeSpecialistProduction);CivRegisterAfter<CivHooks::CvCity_changeSpecialistProduction>(host, &AfterCvCity_changeSpecialistProduction);CivRegisterReplace<CivHooks::CvCity_changeSpecialistProduction>(host, &ReplaceCvCity_changeSpecialistProduction);

Code

11446void CvCity::changeSpecialistProduction(SpecialistTypes eIndex, int iChange)11447{11448	VALIDATE_OBJECT11449	changeSpecialistProductionTimes100(eIndex,iChange*100);11450}

Calls

Called by