// Generate By EToy // Don't Edit It!! using XGame.Framework.Database; using XGame.Framework.Serialization; namespace XGame.Database { /// partnerStarUp public sealed class partnerStarUpTable : ITable { long ITable.Key => Id; /// 伙伴ID*1000+星级 public int Id { get; private set; } // sc public int PetId { get; private set; } // sc public int Level { get; private set; } // sc /// 升星消耗同ID伙伴的数量 public int StarUpCost { get; private set; } // sc /// 属性名称1,属性值,属性名称2,属性值(圣兵拥有属性增加) public int[] StarOwnAttr { get; private set; } // sc /// 技能ID(到达对应星级后解锁)(技能id+技能id) public int[] StarSkill { get; private set; } // sc void ISerializable.Deserialize(IReader reader) { Id = reader.ReadInt(); PetId = reader.ReadInt(); Level = reader.ReadInt(); StarUpCost = reader.ReadInt(); StarOwnAttr = reader.ReadEnumerable(); StarSkill = reader.ReadEnumerable(); } void ISerializable.Serialize(IWriter writer) { writer.Write(Id); writer.Write(PetId); writer.Write(Level); writer.Write(StarUpCost); writer.Write(StarOwnAttr); writer.Write(StarSkill); } } }