예제 #1
0
        static int _m_GetChannel(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DCET.Model.AService gen_to_be_invoked = (DCET.Model.AService)translator.FastGetCSObj(L, 1);



                {
                    long _id = LuaAPI.lua_toint64(L, 2);

                    DCET.Model.AChannel gen_ret = gen_to_be_invoked.GetChannel(_id);
                    translator.Push(L, gen_ret);



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