1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> epigraphDraw </summary>
- public sealed class epigraphDrawTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 宝箱等级 </summary>
- public int Id { get; private set; }
- /// <summary> 奖池(道具id)道具id+道具数量+道具权重(万) </summary>
- public int[] Reward { get; private set; }
- /// <summary> 升级经验 </summary>
- public int NeedExp { get; private set; }
- /// <summary> 保底奖励道具id+道具数量+道具权重(万) </summary>
- public int[] FloorsReward { get; private set; }
- /// <summary> 保底奖励道具id+道具数量+道具权重(万) </summary>
- public int[] FloorsReward2 { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Reward = reader.ReadEnumerable<int[]>();
- NeedExp = reader.ReadInt();
- FloorsReward = reader.ReadEnumerable<int[]>();
- FloorsReward2 = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Reward);
- writer.Write(NeedExp);
- writer.Write(FloorsReward);
- writer.Write(FloorsReward2);
- }
- }
- }
|