123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> mission_sktl </summary>
- public sealed class mission_sktlTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 功能id </summary>
- public int Id { get; private set; }
- /// <summary> 副本难度1=简单2=普通3=困难 </summary>
- public int Kind { get; private set; }
- /// <summary> 副本怪物波次1怪物id+怪物数量 </summary>
- public int[] Monsterid { get; private set; }
- /// <summary> 副本怪物波次2怪物id+怪物数量 </summary>
- public int[] Monsterid2 { get; private set; }
- /// <summary> 副本怪物波次3怪物id+怪物数量 </summary>
- public int[] Monsterid3 { get; private set; }
- /// <summary> 副本主题名称 </summary>
- public string Name { get; private set; }
- /// <summary> 推荐等级 </summary>
- public int Level { get; private set; }
- /// <summary> 副本奖励 </summary>
- public int[] Reward { get; private set; }
- /// <summary> 挑战奖励道具id+道具数量 </summary>
- public int[] Reward2 { get; private set; }
- /// <summary> 挑战加成开服天数+属性id+属性参数 </summary>
- public int[] Reward3 { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Kind = reader.ReadInt();
- Monsterid = reader.ReadEnumerable<int[]>();
- Monsterid2 = reader.ReadEnumerable<int[]>();
- Monsterid3 = reader.ReadEnumerable<int[]>();
- Name = reader.ReadString();
- Level = reader.ReadInt();
- Reward = reader.ReadEnumerable<int[]>();
- Reward2 = reader.ReadEnumerable<int[]>();
- Reward3 = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Kind);
- writer.Write(Monsterid);
- writer.Write(Monsterid2);
- writer.Write(Monsterid3);
- writer.Write(Name);
- writer.Write(Level);
- writer.Write(Reward);
- writer.Write(Reward2);
- writer.Write(Reward3);
- }
- }
- }
|