getLandPlotsAsset(int)
- Defined in
- CvGameCoreUtils.cpp, line 449
- Hook name
CivHooks::getLandPlotsAsset
Hooks
static bool BeforegetLandPlotsAsset(int iLandPlots, int& result);static void AftergetLandPlotsAsset(int iLandPlots, int& result);static int ReplacegetLandPlotsAsset(int (*original)(int), int iLandPlots);CivRegisterBefore<CivHooks::getLandPlotsAsset>(host, &BeforegetLandPlotsAsset);CivRegisterAfter<CivHooks::getLandPlotsAsset>(host, &AftergetLandPlotsAsset);CivRegisterReplace<CivHooks::getLandPlotsAsset>(host, &ReplacegetLandPlotsAsset);
Code
449int getLandPlotsAsset(int iLandPlots)450{451 return iLandPlots;452}