1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> Jump </summary>
- public sealed class JumpTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 跳转id </summary>
- public int Id { get; private set; } // c
- /// <summary> 前往跳转 </summary>
- public string UI { get; private set; } // c
- /// <summary> 系统名称 </summary>
- public string Name { get; private set; } // c
- /// <summary> 跳转描述 </summary>
- public string Desc { get; private set; } // c
- /// <summary> 透传参数 </summary>
- public int[] Param { get; private set; } // c
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- UI = reader.ReadString();
- Name = reader.ReadString();
- Desc = reader.ReadString();
- Param = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(UI);
- writer.Write(Name);
- writer.Write(Desc);
- writer.Write(Param);
- }
- }
- }
|