1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> fishingScience </summary>
- public sealed class fishingScienceTable : ITable
- {
- long ITable.Key => ScienceId;
- /// <summary> 科技id科技组*10000+天赋点*100 </summary>
- public int ScienceId { get; private set; }
- /// <summary> 科技组 </summary>
- public int Group { get; private set; }
- /// <summary> 科技名称 </summary>
- public string Name { get; private set; }
- /// <summary> 天赋点1=大科技点2=小科技点 </summary>
- public int GiftType { get; private set; }
- /// <summary> 科技解锁(指定科技满级后解锁)科技id,科技等级 </summary>
- public int[] UnlockValue { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- ScienceId = reader.ReadInt();
- Group = reader.ReadInt();
- Name = reader.ReadString();
- GiftType = reader.ReadInt();
- UnlockValue = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(ScienceId);
- writer.Write(Group);
- writer.Write(Name);
- writer.Write(GiftType);
- writer.Write(UnlockValue);
- }
- }
- }
|