123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> fishingPierReward </summary>
- public sealed class fishingPierRewardTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 捕鱼id </summary>
- public int Id { get; private set; }
- /// <summary> 渔网名字 </summary>
- public string Name { get; private set; }
- /// <summary> 捕鱼时长(s) </summary>
- public int RewardCd { get; private set; }
- /// <summary> 捕鱼奖励(道具id,道具数量) </summary>
- public int[] Reward { get; private set; }
- /// <summary> 捕鱼中状态 </summary>
- public string Immaturity { get; private set; }
- /// <summary> 捕鱼完状态 </summary>
- public string Status { get; private set; }
- /// <summary> 额外收获额外收获概率,额外收获数量 </summary>
- public int[] Mature { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Name = reader.ReadString();
- RewardCd = reader.ReadInt();
- Reward = reader.ReadEnumerable<int[]>();
- Immaturity = reader.ReadString();
- Status = reader.ReadString();
- Mature = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Name);
- writer.Write(RewardCd);
- writer.Write(Reward);
- writer.Write(Immaturity);
- writer.Write(Status);
- writer.Write(Mature);
- }
- }
- }
|