123456789101112131415161718192021222324252627282930313233343536373839404142 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> copy_ygyj </summary>
- public sealed class copy_ygyjTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 功能id </summary>
- public int Id { get; private set; }
- /// <summary> 难度等级 </summary>
- public int Difficulty { get; private set; }
- /// <summary> 副本怪物怪物id+怪物数量 </summary>
- public int[] Monsterid { get; private set; }
- /// <summary> 副本奖励 </summary>
- public int[] Reward { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Difficulty = reader.ReadInt();
- Monsterid = reader.ReadEnumerable<int[]>();
- Reward = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Difficulty);
- writer.Write(Monsterid);
- writer.Write(Reward);
- }
- }
- }
|