1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> fishingScienceLvUp </summary>
- public sealed class fishingScienceLvUpTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 科技id*1000+等级 </summary>
- public int Id { get; private set; }
- /// <summary> 科技id </summary>
- public int ScienceId { get; private set; }
- /// <summary> 科技等级 </summary>
- public int Level { get; private set; }
- /// <summary> 其他消耗(道具id,数量) </summary>
- public int[] ItemCost { get; private set; }
- /// <summary> 科技天赋属性加成属性id,数值 </summary>
- public int[] LvAttr { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- ScienceId = reader.ReadInt();
- Level = reader.ReadInt();
- ItemCost = reader.ReadEnumerable<int[]>();
- LvAttr = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(ScienceId);
- writer.Write(Level);
- writer.Write(ItemCost);
- writer.Write(LvAttr);
- }
- }
- }
|