// Generate By EToy // Don't Edit It!! using XGame.Framework.Database; using XGame.Framework.Serialization; namespace XGame.Database { /// collect_reward public sealed class collect_rewardTable : ITable { long ITable.Key => Id; /// 功能ID100000+羁绊ID*1000+等级 public int Id { get; private set; } /// (关联collect表 ID) public int CollectId { get; private set; } /// 羁绊等级 public int Level { get; private set; } /// 羁绊解锁描述描述 public string Name { get; private set; } /// 羁绊奖励领取条件所有物品达到对应的星级(圣兵/铭文总星级) public int Unlock { get; private set; } /// 羁绊奖励(道具ID+数量) public int[] Reward { get; private set; } /// 属性加成(属性表ID,属性表ID) public int[] Attribute { get; private set; } void ISerializable.Deserialize(IReader reader) { Id = reader.ReadInt(); CollectId = reader.ReadInt(); Level = reader.ReadInt(); Name = reader.ReadString(); Unlock = reader.ReadInt(); Reward = reader.ReadEnumerable(); Attribute = reader.ReadEnumerable(); } void ISerializable.Serialize(IWriter writer) { writer.Write(Id); writer.Write(CollectId); writer.Write(Level); writer.Write(Name); writer.Write(Unlock); writer.Write(Reward); writer.Write(Attribute); } } }