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