static int _m_Contains(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.RecastBBTreeBox gen_to_be_invoked = (Pathfinding.RecastBBTreeBox)translator.FastGetCSObj(L, 1); { UnityEngine.Vector3 _p; translator.Get(L, 2, out _p); bool gen_ret = gen_to_be_invoked.Contains( _p); LuaAPI.lua_pushboolean(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _g_get_rect(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.RecastBBTreeBox gen_to_be_invoked = (Pathfinding.RecastBBTreeBox)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.rect); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_c2(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.RecastBBTreeBox gen_to_be_invoked = (Pathfinding.RecastBBTreeBox)translator.FastGetCSObj(L, 1); gen_to_be_invoked.c2 = (Pathfinding.RecastBBTreeBox)translator.GetObject(L, 2, typeof(Pathfinding.RecastBBTreeBox)); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _s_set_rect(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.RecastBBTreeBox gen_to_be_invoked = (Pathfinding.RecastBBTreeBox)translator.FastGetCSObj(L, 1); UnityEngine.Rect gen_value; translator.Get(L, 2, out gen_value); gen_to_be_invoked.rect = gen_value; } 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) == 2 && translator.Assignable <Pathfinding.RecastMeshObj>(L, 2)) { Pathfinding.RecastMeshObj _mesh = (Pathfinding.RecastMeshObj)translator.GetObject(L, 2, typeof(Pathfinding.RecastMeshObj)); Pathfinding.RecastBBTreeBox gen_ret = new Pathfinding.RecastBBTreeBox(_mesh); 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.RecastBBTreeBox constructor!")); }