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