1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> fishingPier </summary>
- public sealed class fishingPierTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> id </summary>
- public int Id { get; private set; }
- /// <summary> 每日免费渔网初始数量 </summary>
- public int Quantity { get; private set; }
- /// <summary> 加速道具(小)初始数量 </summary>
- public int Quantity2 { get; private set; }
- /// <summary> 加速道具(小)回复时间时间(S),回复道具数量 </summary>
- public int[] PropCd { get; private set; }
- /// <summary> 加速道具(小)加速时间S </summary>
- public int Expedite { get; private set; }
- /// <summary> 加速道具(大)加速时间S </summary>
- public int Expedite2 { get; private set; }
- /// <summary> 偷取鱼货时间S </summary>
- public int ThiefCd { get; private set; }
- /// <summary> 偷取鱼货数量1=免费渔船,2=普通渔船,3=高级渔船渔船类型,偷取数量 </summary>
- public int[] ThiefQuantity { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Quantity = reader.ReadInt();
- Quantity2 = reader.ReadInt();
- PropCd = reader.ReadEnumerable<int[]>();
- Expedite = reader.ReadInt();
- Expedite2 = reader.ReadInt();
- ThiefCd = reader.ReadInt();
- ThiefQuantity = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Quantity);
- writer.Write(Quantity2);
- writer.Write(PropCd);
- writer.Write(Expedite);
- writer.Write(Expedite2);
- writer.Write(ThiefCd);
- writer.Write(ThiefQuantity);
- }
- }
- }
|