123456789101112131415161718192021222324252627282930313233343536373839404142 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> dailyActive </summary>
- public sealed class dailyActiveTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 功能id10001=每日任务20001=每周任务 </summary>
- public int Id { get; private set; }
- /// <summary> 活跃积分 </summary>
- public int Parameter { get; private set; }
- /// <summary> 活跃奖励道具id,道具数量 </summary>
- public int[] Reward { get; private set; }
- /// <summary> 任务类型1=每日任务2=每周任务 </summary>
- public int Type { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Parameter = reader.ReadInt();
- Reward = reader.ReadEnumerable<int[]>();
- Type = reader.ReadInt();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Parameter);
- writer.Write(Reward);
- writer.Write(Type);
- }
- }
- }
|