// Generate By EToy // Don't Edit It!! using XGame.Framework.Database; using XGame.Framework.Serialization; namespace XGame.Database { /// guildTask public sealed class guildTaskTable : ITable { long ITable.Key => Id; /// 功能idid*1000+任务等级*100+圣兵品质*10 public int Id { get; private set; } /// 任务名称 public string Name { get; private set; } /// 任务等级 public int Level { get; private set; } /// 任务奖励道具id+数量 public int[] TaskReward { get; private set; } /// 派遣圣兵数量 public int Number { get; private set; } /// 派遣圣兵品质2:绿3:蓝4:紫6:橙7:红9:彩11:鎏金12:炫彩 public int Quality { get; private set; } /// 派遣奖励道具id+数量 public int[] Reward2 { get; private set; } /// 任务完成时间毫秒 public int Time { get; private set; } /// 接取任务权重 public int Odds { get; private set; } void ISerializable.Deserialize(IReader reader) { Id = reader.ReadInt(); Name = reader.ReadString(); Level = reader.ReadInt(); TaskReward = reader.ReadEnumerable(); Number = reader.ReadInt(); Quality = reader.ReadInt(); Reward2 = reader.ReadEnumerable(); Time = reader.ReadInt(); Odds = reader.ReadInt(); } void ISerializable.Serialize(IWriter writer) { writer.Write(Id); writer.Write(Name); writer.Write(Level); writer.Write(TaskReward); writer.Write(Number); writer.Write(Quality); writer.Write(Reward2); writer.Write(Time); writer.Write(Odds); } } }