1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- // 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
- public string Icon { get; private set; } // c
- /// <summary> 前置ID,需要先打开前置UI才能打开当前指定UI </summary>
- public int Parent { 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[]>();
- Icon = reader.ReadString();
- Parent = reader.ReadInt();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(UI);
- writer.Write(Name);
- writer.Write(Desc);
- writer.Write(Param);
- writer.Write(Icon);
- writer.Write(Parent);
- }
- }
- }
|