12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- // 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
- /// <summary> 对应功能ID </summary>
- public int FunctionId { 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();
- FunctionId = 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);
- writer.Write(FunctionId);
- }
- }
- }
|