// Generate By EToy // Don't Edit It!! using XGame.Framework.Database; using XGame.Framework.Serialization; namespace XGame.Database { /// Jump public sealed class JumpTable : ITable { long ITable.Key => Id; /// 跳转id public int Id { get; private set; } // c /// 前往跳转 public string UI { get; private set; } // c /// 系统名称 public string Name { get; private set; } // c /// 跳转描述 public string Desc { get; private set; } // c /// 透传参数 public int[] Param { get; private set; } // c public string Icon { get; private set; } // c /// 前置ID,需要先打开前置UI才能打开当前指定UI 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(); 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); } } }