12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> chapterTask </summary>
- public sealed class chapterTaskTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> ID任务组*10+任务序号 </summary>
- public int Id { get; private set; }
- /// <summary> 任务组顺序 </summary>
- public int Task_group { get; private set; }
- /// <summary> 任务区域 </summary>
- public int[] Unlock_section { get; private set; }
- /// <summary> 地图任务[任务ID,需求] </summary>
- public int[] Chapter_task { get; private set; }
- /// <summary> 地图任务奖励[道具ID,数量] </summary>
- public int[] Chapter_task_reward { get; private set; }
- /// <summary> 通关属性[属性ID,属性量] </summary>
- public int[] Chapter_power { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Task_group = reader.ReadInt();
- Unlock_section = reader.ReadEnumerable<int[]>();
- Chapter_task = reader.ReadEnumerable<int[]>();
- Chapter_task_reward = reader.ReadEnumerable<int[]>();
- Chapter_power = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Task_group);
- writer.Write(Unlock_section);
- writer.Write(Chapter_task);
- writer.Write(Chapter_task_reward);
- writer.Write(Chapter_power);
- }
- }
- }
|