static int _m_Remove(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.RecastBBTree gen_to_be_invoked = (Pathfinding.RecastBBTree)translator.FastGetCSObj(L, 1); { Pathfinding.RecastMeshObj _mesh = (Pathfinding.RecastMeshObj)translator.GetObject(L, 2, typeof(Pathfinding.RecastMeshObj)); bool gen_ret = gen_to_be_invoked.Remove( _mesh); LuaAPI.lua_pushboolean(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_QueryInBounds(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.RecastBBTree gen_to_be_invoked = (Pathfinding.RecastBBTree)translator.FastGetCSObj(L, 1); { UnityEngine.Rect _bounds; translator.Get(L, 2, out _bounds); System.Collections.Generic.List <Pathfinding.RecastMeshObj> _buffer = (System.Collections.Generic.List <Pathfinding.RecastMeshObj>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List <Pathfinding.RecastMeshObj>)); gen_to_be_invoked.QueryInBounds( _bounds, _buffer); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { Pathfinding.RecastBBTree gen_ret = new Pathfinding.RecastBBTree(); 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.RecastBBTree constructor!")); }