Bazaar developer reference

getLandPlotsScore(int)

Defined in
CvGameCoreUtils.cpp, line 464
Hook name
CivHooks::getLandPlotsScore

Hooks

static bool BeforegetLandPlotsScore(int iLandPlots, int& result);static void AftergetLandPlotsScore(int iLandPlots, int& result);static int ReplacegetLandPlotsScore(int (*original)(int), int iLandPlots);CivRegisterBefore<CivHooks::getLandPlotsScore>(host, &BeforegetLandPlotsScore);CivRegisterAfter<CivHooks::getLandPlotsScore>(host, &AftergetLandPlotsScore);CivRegisterReplace<CivHooks::getLandPlotsScore>(host, &ReplacegetLandPlotsScore);

Code

464int getLandPlotsScore(int iLandPlots)465{466	return iLandPlots;467}

Called by