Beispiel #1
0
        static int _m_Type(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    System.Type gen_ret = gen_to_be_invoked.Type(  );
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Beispiel #2
0
        static int _m_Run(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    object _o = translator.GetObject(L, 2, typeof(object));

                    gen_to_be_invoked.Run(_o);



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