123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> arena </summary>
- public sealed class arenaTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 功能ID </summary>
- public int Id { get; private set; }
- /// <summary> 挑战卷回复时间(分钟) </summary>
- public int Time { get; private set; }
- /// <summary> 挑战卷回复上限 </summary>
- public int Maximums { get; private set; }
- /// <summary> 挑战卷购买次数+消耗钻石消耗钻石数量 </summary>
- public int[] Purchase { get; private set; }
- /// <summary> 刷新消耗刷新次数+消耗钻石数量 </summary>
- public int[] Flushed { get; private set; }
- /// <summary> 积分<0%(高于%+获得积分加成%+扣除积分加成%) </summary>
- public int[] Higher { get; private set; }
- /// <summary> 积分>0%(低于%+获得积分加成+扣除积分加成) </summary>
- public int[] Below { get; private set; }
- /// <summary> 基础积分 </summary>
- public int Basis { get; private set; }
- /// <summary> 挑战成功奖励道具id+数量 </summary>
- public int[] Rewardwin { get; private set; }
- /// <summary> 挑战失败奖励道具id+数量 </summary>
- public int[] Rewardlose { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Time = reader.ReadInt();
- Maximums = reader.ReadInt();
- Purchase = reader.ReadEnumerable<int[]>();
- Flushed = reader.ReadEnumerable<int[]>();
- Higher = reader.ReadEnumerable<int[]>();
- Below = reader.ReadEnumerable<int[]>();
- Basis = reader.ReadInt();
- Rewardwin = reader.ReadEnumerable<int[]>();
- Rewardlose = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Time);
- writer.Write(Maximums);
- writer.Write(Purchase);
- writer.Write(Flushed);
- writer.Write(Higher);
- writer.Write(Below);
- writer.Write(Basis);
- writer.Write(Rewardwin);
- writer.Write(Rewardlose);
- }
- }
- }
|