//------------------------------------------------------------------------------ // // 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 RouterConfig : Luban.BeanBase { public RouterConfig(ByteBuf _buf) { Id = _buf.ReadInt(); Path = _buf.ReadString(); Port = _buf.ReadInt(); } public static RouterConfig DeserializeRouterConfig(ByteBuf _buf) { return new RouterConfig(_buf); } /// /// 对应节点Id /// public readonly int Id; /// /// 监听的路径 /// public readonly string Path; /// /// 端口 /// public readonly int Port; public const int __ID__ = -576389109; public override int GetTypeId() => __ID__; public override string ToString() { return "{ " + "id:" + Id + "," + "path:" + Path + "," + "port:" + Port + "," + "}"; } } }