123456789101112131415161718192021222324252627282930313233343536373839404142 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> partnerDraw </summary>
- public sealed class partnerDrawTable : 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; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Reward = reader.ReadEnumerable<int[]>();
- NeedExp = reader.ReadInt();
- FloorsReward = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Reward);
- writer.Write(NeedExp);
- writer.Write(FloorsReward);
- }
- }
- }
|