1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> copy </summary>
- public sealed class copyTable : ITable
- {
- long ITable.Key => Kind;
- /// <summary> 副本种类 </summary>
- public int Kind { get; private set; }
- /// <summary> 副本名称 </summary>
- public string Name { get; private set; }
- /// <summary> 副本免费挑战次数 </summary>
- public int Number { get; private set; }
- /// <summary> 副本消耗门票1=门票2=每日次数 </summary>
- public int Type { get; private set; }
- /// <summary> 副本时长按照秒来计算 </summary>
- public int Time { get; private set; }
- /// <summary> 挑战加成开服天数+属性id+属性参数 </summary>
- public int[] Bonus { get; private set; }
- /// <summary> 副本参与人数 </summary>
- public int Toll { get; private set; }
- /// <summary> 广告获取门票次数 </summary>
- public int Ads { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Kind = reader.ReadInt();
- Name = reader.ReadString();
- Number = reader.ReadInt();
- Type = reader.ReadInt();
- Time = reader.ReadInt();
- Bonus = reader.ReadEnumerable<int[]>();
- Toll = reader.ReadInt();
- Ads = reader.ReadInt();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Kind);
- writer.Write(Name);
- writer.Write(Number);
- writer.Write(Type);
- writer.Write(Time);
- writer.Write(Bonus);
- writer.Write(Toll);
- writer.Write(Ads);
- }
- }
- }
|