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