Hooks
static bool BeforeCvLuaPlayer_lSetNumPlotsBought(lua_State* L, int& result);static void AfterCvLuaPlayer_lSetNumPlotsBought(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lSetNumPlotsBought(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lSetNumPlotsBought>(host, &BeforeCvLuaPlayer_lSetNumPlotsBought);CivRegisterAfter<CivHooks::CvLuaPlayer_lSetNumPlotsBought>(host, &AfterCvLuaPlayer_lSetNumPlotsBought);CivRegisterReplace<CivHooks::CvLuaPlayer_lSetNumPlotsBought>(host, &ReplaceCvLuaPlayer_lSetNumPlotsBought);