12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> tiaozhan </summary>
- public sealed class tiaozhanTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 功能id </summary>
- public int Id { get; private set; }
- /// <summary> 挑战类型1=三星通关2=组队通关3=单人通关 </summary>
- public int Type { get; private set; }
- /// <summary> 挑战条件多少秒内通关 </summary>
- public int Time { get; private set; }
- /// <summary> 挑战任务名称 </summary>
- public string Name { get; private set; }
- /// <summary> 挑战任务描述 </summary>
- public string Desc { get; private set; }
- /// <summary> 关联副本id </summary>
- public int Copysktlid { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Type = reader.ReadInt();
- Time = reader.ReadInt();
- Name = reader.ReadString();
- Desc = reader.ReadString();
- Copysktlid = reader.ReadInt();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Type);
- writer.Write(Time);
- writer.Write(Name);
- writer.Write(Desc);
- writer.Write(Copysktlid);
- }
- }
- }
|