1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> taskAchieve </summary>
- public sealed class taskAchieveTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 功能id10001=成就任务 </summary>
- public int Id { get; private set; }
- /// <summary> 任务种类关联desc表id </summary>
- public int Kind { get; private set; }
- /// <summary> 任务标题 </summary>
- public string Name { get; private set; }
- /// <summary> 任务参数初始任务参数+每次完成累计任务参数+成就点数 </summary>
- public int[] Type { get; private set; }
- /// <summary> 奖励道具id+数量 </summary>
- public int[] Reward { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Kind = reader.ReadInt();
- Name = reader.ReadString();
- Type = reader.ReadEnumerable<int[]>();
- Reward = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Kind);
- writer.Write(Name);
- writer.Write(Type);
- writer.Write(Reward);
- }
- }
- }
|