//------------------------------------------------------------------------------ // // 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 GameConfig.TB { public sealed partial class TbGResource : Luban.BeanBase { public TbGResource(ByteBuf _buf) { Id = _buf.ReadInt(); Icon = _buf.ReadString(); Name = _buf.ReadString(); Tig = _buf.ReadString(); Args = _buf.ReadString(); Quality = _buf.ReadInt(); } public static TbGResource DeserializeTbGResource(ByteBuf _buf) { return new TB.TbGResource(_buf); } /// /// id /// public readonly int Id; /// /// 资源图片 /// public readonly string Icon; /// /// 资源名称 /// public readonly string Name; /// /// 描述 /// public readonly string Tig; /// /// 额外参数 /// public readonly string Args; /// /// 资源品质 /// public readonly int Quality; public const int __ID__ = 1780642599; public override int GetTypeId() => __ID__; public void ResolveRef(Tables tables) { } public override string ToString() { return "{ " + "id:" + Id + "," + "icon:" + Icon + "," + "name:" + Name + "," + "tig:" + Tig + "," + "args:" + Args + "," + "quality:" + Quality + "," + "}"; } } }