Hooks
static bool BeforeCvLuaUnit_lJumpToNearestValidPlot(lua_State* L, int& result);static void AfterCvLuaUnit_lJumpToNearestValidPlot(lua_State* L, int& result);static int ReplaceCvLuaUnit_lJumpToNearestValidPlot(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaUnit_lJumpToNearestValidPlot>(host, &BeforeCvLuaUnit_lJumpToNearestValidPlot);CivRegisterAfter<CivHooks::CvLuaUnit_lJumpToNearestValidPlot>(host, &AfterCvLuaUnit_lJumpToNearestValidPlot);CivRegisterReplace<CivHooks::CvLuaUnit_lJumpToNearestValidPlot>(host, &ReplaceCvLuaUnit_lJumpToNearestValidPlot);