Esempio n. 1
0
        static int _m_ReadName(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                MongoDB.Bson.IO.IBsonReader gen_to_be_invoked = (MongoDB.Bson.IO.IBsonReader)translator.FastGetCSObj(L, 1);



                {
                    MongoDB.Bson.IO.INameDecoder _nameDecoder = (MongoDB.Bson.IO.INameDecoder)translator.GetObject(L, 2, typeof(MongoDB.Bson.IO.INameDecoder));

                    string gen_ret = gen_to_be_invoked.ReadName(_nameDecoder);
                    LuaAPI.lua_pushstring(L, gen_ret);



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