static int _s_set_maxThrottlingDelay(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.RecastTileUpdateHandler gen_to_be_invoked = (Pathfinding.RecastTileUpdateHandler)translator.FastGetCSObj(L, 1); gen_to_be_invoked.maxThrottlingDelay = (float)LuaAPI.lua_tonumber(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { Pathfinding.RecastTileUpdateHandler gen_ret = new Pathfinding.RecastTileUpdateHandler(); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to Pathfinding.RecastTileUpdateHandler constructor!")); }
static int _m_UpdateDirtyTiles(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.RecastTileUpdateHandler gen_to_be_invoked = (Pathfinding.RecastTileUpdateHandler)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.UpdateDirtyTiles( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_ScheduleUpdate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.RecastTileUpdateHandler gen_to_be_invoked = (Pathfinding.RecastTileUpdateHandler)translator.FastGetCSObj(L, 1); { UnityEngine.Bounds _bounds; translator.Get(L, 2, out _bounds); gen_to_be_invoked.ScheduleUpdate(_bounds); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_SetGraph(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.RecastTileUpdateHandler gen_to_be_invoked = (Pathfinding.RecastTileUpdateHandler)translator.FastGetCSObj(L, 1); { PF.RecastGraph _graph = (PF.RecastGraph)translator.GetObject(L, 2, typeof(PF.RecastGraph)); gen_to_be_invoked.SetGraph(_graph); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }