1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // 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> 商品类型1=商店售卖2=每日签到 </summary>
- public int Type { 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();
- Type = 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(Type);
- writer.Write(Name);
- writer.Write(Money);
- writer.Write(Goods);
- writer.Write(NumberType);
- writer.Write(Number);
- }
- }
- }
|