//------------------------------------------------------------------------------ // // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using Luban; namespace Server.Config { public sealed partial class RabbitConfig : Luban.BeanBase { public RabbitConfig(ByteBuf _buf) { Id = _buf.ReadInt(); Port = _buf.ReadInt(); Host = _buf.ReadString(); UserName = _buf.ReadString(); Pwd = _buf.ReadString(); Vhost = _buf.ReadString(); } public static RabbitConfig DeserializeRabbitConfig(ByteBuf _buf) { return new RabbitConfig(_buf); } /// /// id /// public readonly int Id; /// /// 端口 /// public readonly int Port; /// /// 地址 /// public readonly string Host; /// /// 用户名 /// public readonly string UserName; /// /// 密码 /// public readonly string Pwd; /// /// 项目名 /// public readonly string Vhost; public const int __ID__ = 875638812; public override int GetTypeId() => __ID__; public override string ToString() { return "{ " + "id:" + Id + "," + "port:" + Port + "," + "host:" + Host + "," + "userName:" + UserName + "," + "pwd:" + Pwd + "," + "vhost:" + Vhost + "," + "}"; } } }