static int _m_Apply(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Pathfinding.IPathModifier gen_to_be_invoked = (Pathfinding.IPathModifier)translator.FastGetCSObj(L, 1); { PF.Path _path = (PF.Path)translator.GetObject(L, 2, typeof(PF.Path)); gen_to_be_invoked.Apply(_path); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }