Exemplo n.º 1
0
        static int _g_get_AttrRatio(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xc.DBBaptizeColorPool.DBBaptizeColorPoolInfo __cl_gen_to_be_invoked = (xc.DBBaptizeColorPool.DBBaptizeColorPoolInfo)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushuint(L, __cl_gen_to_be_invoked.AttrRatio);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
Exemplo n.º 2
0
        static int __CreateInstance(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    xc.DBBaptizeColorPool.DBBaptizeColorPoolInfo __cl_gen_ret = new xc.DBBaptizeColorPool.DBBaptizeColorPoolInfo();
                    translator.Push(L, __cl_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 xc.DBBaptizeColorPool.DBBaptizeColorPoolInfo constructor!"));
        }
        static int _m_GetOneInfo(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xc.DBBaptizeColorPool __cl_gen_to_be_invoked = (xc.DBBaptizeColorPool)translator.FastGetCSObj(L, 1);


            try {
                {
                    uint id = LuaAPI.xlua_touint(L, 2);

                    xc.DBBaptizeColorPool.DBBaptizeColorPoolInfo __cl_gen_ret = __cl_gen_to_be_invoked.GetOneInfo(id);
                    translator.Push(L, __cl_gen_ret);



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