Hooks
static bool BeforeCvLuaPlayer_lGetNumPlotsBought(lua_State* L, int& result);static void AfterCvLuaPlayer_lGetNumPlotsBought(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lGetNumPlotsBought(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lGetNumPlotsBought>(host, &BeforeCvLuaPlayer_lGetNumPlotsBought);CivRegisterAfter<CivHooks::CvLuaPlayer_lGetNumPlotsBought>(host, &AfterCvLuaPlayer_lGetNumPlotsBought);CivRegisterReplace<CivHooks::CvLuaPlayer_lGetNumPlotsBought>(host, &ReplaceCvLuaPlayer_lGetNumPlotsBought);