// Generate By EToy // Don't Edit It!! using XGame.Framework.Database; using XGame.Framework.Serialization; namespace XGame.Database { /// collect public sealed class collectTable : ITable { long ITable.Key => Id; /// 功能ID public int Id { get; private set; } /// 组合名称 public string Name { get; private set; } /// 组合类型1=圣兵2=铭文 public int Type { get; private set; } /// 组合参数(圣兵/铭文id,圣兵/铭文id,圣兵/铭文id) public int[] Param { get; private set; } void ISerializable.Deserialize(IReader reader) { Id = reader.ReadInt(); Name = reader.ReadString(); Type = reader.ReadInt(); Param = reader.ReadEnumerable(); } void ISerializable.Serialize(IWriter writer) { writer.Write(Id); writer.Write(Name); writer.Write(Type); writer.Write(Param); } } }