1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> partnerStarUp </summary>
- public sealed class partnerStarUpTable : 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 StarUpCost { get; private set; } // sc
- /// <summary> 属性名称1,属性值,属性名称2,属性值…… </summary>
- public int[] StarOwnAttr { get; private set; } // sc
- /// <summary> 技能ID(到达对应星级后解锁)(技能id+技能id) </summary>
- public int[] StarSkill { get; private set; } // sc
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- PetId = reader.ReadInt();
- Level = reader.ReadInt();
- StarUpCost = reader.ReadInt();
- StarOwnAttr = reader.ReadEnumerable<int[]>();
- StarSkill = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(PetId);
- writer.Write(Level);
- writer.Write(StarUpCost);
- writer.Write(StarOwnAttr);
- writer.Write(StarSkill);
- }
- }
- }
|