//------------------------------------------------------------------------------ // // 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 HttpConfig : Luban.BeanBase { public HttpConfig(ByteBuf _buf) { Id = _buf.ReadInt(); Host = _buf.ReadString(); Port = _buf.ReadInt(); TimeOut = _buf.ReadInt(); } public static HttpConfig DeserializeHttpConfig(ByteBuf _buf) { return new HttpConfig(_buf); } /// /// id 对应的节点ID /// public readonly int Id; /// /// host /// public readonly string Host; /// /// 端口 /// public readonly int Port; /// /// 超时时间 毫秒 /// public readonly int TimeOut; public const int __ID__ = -1827615222; public override int GetTypeId() => __ID__; public override string ToString() { return "{ " + "id:" + Id + "," + "host:" + Host + "," + "port:" + Port + "," + "timeOut:" + TimeOut + "," + "}"; } } }