12345678910111213141516171819202122232425262728293031323334353637 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> achieveReward </summary>
- public sealed class achieveRewardTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 功能id </summary>
- public int Id { get; private set; }
- /// <summary> 成就点(成就累计点击) </summary>
- public int Dots { get; private set; }
- /// <summary> 成就奖励道具id+数量 </summary>
- public int[] Reward { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Dots = reader.ReadInt();
- Reward = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Dots);
- writer.Write(Reward);
- }
- }
- }
|