123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> partnerLvUp </summary>
- public sealed class partnerLvUpTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 圣兵ID*1000+等级 </summary>
- public int Id { get; private set; } // sc
- public int PetId { get; private set; } // sc
- public int Level { get; private set; } // sc
- /// <summary> 升级道具ID,升级经验消耗数量 </summary>
- public int[] LevelUpCost { get; private set; } // sc
- /// <summary> 属性名称1,属性值,属性名称2,属性值…… </summary>
- public int[] LvAttr { get; private set; } // sc
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- PetId = reader.ReadInt();
- Level = reader.ReadInt();
- LevelUpCost = reader.ReadEnumerable<int[]>();
- LvAttr = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(PetId);
- writer.Write(Level);
- writer.Write(LevelUpCost);
- writer.Write(LvAttr);
- }
- }
- }
|