Пример #1
0
        static int _m_SetStart(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                PF.PathNNConstraint gen_to_be_invoked = (PF.PathNNConstraint)translator.FastGetCSObj(L, 1);



                {
                    PF.GraphNode _node = (PF.GraphNode)translator.GetObject(L, 2, typeof(PF.GraphNode));

                    gen_to_be_invoked.SetStart(_node);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }