// Generate By EToy // Don't Edit It!! using XGame.Framework.Database; using XGame.Framework.Serialization; namespace XGame.Database { /// arena_phb public sealed class arena_phbTable : ITable { long ITable.Key => Id; /// 功能ID public int Id { get; private set; } /// 1=日榜2=周榜 public int Type { get; private set; } /// 排名 public string Ranking { get; private set; } /// 奖励(道具id,道具数量) public int[] Reward { get; private set; } void ISerializable.Deserialize(IReader reader) { Id = reader.ReadInt(); Type = reader.ReadInt(); Ranking = reader.ReadString(); Reward = reader.ReadEnumerable(); } void ISerializable.Serialize(IWriter writer) { writer.Write(Id); writer.Write(Type); writer.Write(Ranking); writer.Write(Reward); } } }