1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> taskMain </summary>
- public sealed class taskMainTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 主线任务ID </summary>
- public int Id { get; private set; }
- /// <summary> 任务种类ID </summary>
- public int Kind { get; private set; }
- /// <summary> 需求 </summary>
- public int Parameter { get; private set; }
- /// <summary> 必得奖励 </summary>
- public int[] Reward { get; private set; }
- /// <summary> 下一个任务ID </summary>
- public int Mainid { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Kind = reader.ReadInt();
- Parameter = reader.ReadInt();
- Reward = reader.ReadEnumerable<int[]>();
- Mainid = reader.ReadInt();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Kind);
- writer.Write(Parameter);
- writer.Write(Reward);
- writer.Write(Mainid);
- }
- }
- }
|