// Generate By EToy // Don't Edit It!! using XGame.Framework.Database; using XGame.Framework.Serialization; namespace XGame.Database { /// epigraphUp public sealed class epigraphUpTable : ITable { long ITable.Key => Id; /// 铭文ID*1000+等级 public int Id { get; private set; } // sc /// 铭文ID public int PetId { get; private set; } // sc /// 等级 public int Level { get; private set; } // sc /// 升级消耗同ID铭文的数量 public int LevelUpCost { get; private set; } // sc /// 拥有效果属性名称1,属性值,属性名称2,属性值…… public int[] LvOwnAttr { get; private set; } // sc /// 效果参数 public int[] EffectArgs { get; private set; } // sc void ISerializable.Deserialize(IReader reader) { Id = reader.ReadInt(); PetId = reader.ReadInt(); Level = reader.ReadInt(); LevelUpCost = reader.ReadInt(); LvOwnAttr = reader.ReadEnumerable(); EffectArgs = reader.ReadEnumerable(); } void ISerializable.Serialize(IWriter writer) { writer.Write(Id); writer.Write(PetId); writer.Write(Level); writer.Write(LevelUpCost); writer.Write(LvOwnAttr); writer.Write(EffectArgs); } } }