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