123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> guildShop </summary>
- public sealed class guildShopTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 公会功能ID贡献等级*10000+1 </summary>
- public int Id { get; private set; }
- /// <summary> 贡献等级 </summary>
- public int Level { get; private set; }
- /// <summary> 商品名称 </summary>
- public string Name { get; private set; }
- /// <summary> 商品价格道具id(货币类型)+数量0=免费 </summary>
- public int[] Money { get; private set; }
- /// <summary> 商品道具id+数量 </summary>
- public int[] Goods { get; private set; }
- /// <summary> 限购类型1=每日限购2=每周限购3每个账号限购 </summary>
- public int NumberType { get; private set; }
- /// <summary> 限购次数0=没有购买次数限制 </summary>
- public int Number { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Level = reader.ReadInt();
- Name = reader.ReadString();
- Money = reader.ReadEnumerable<int[]>();
- Goods = reader.ReadEnumerable<int[]>();
- NumberType = reader.ReadInt();
- Number = reader.ReadInt();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Level);
- writer.Write(Name);
- writer.Write(Money);
- writer.Write(Goods);
- writer.Write(NumberType);
- writer.Write(Number);
- }
- }
- }
|