static int _m_WriteTo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCET.Model.Actor_TransferRequest gen_to_be_invoked = (DCET.Model.Actor_TransferRequest)translator.FastGetCSObj(L, 1); { Google.Protobuf.CodedOutputStream _output = (Google.Protobuf.CodedOutputStream)translator.GetObject(L, 2, typeof(Google.Protobuf.CodedOutputStream)); gen_to_be_invoked.WriteTo(_output); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }