12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> epigraphUp </summary>
- public sealed class epigraphUpTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 铭文ID*1000+等级 </summary>
- public int Id { get; private set; } // sc
- /// <summary> 铭文ID </summary>
- public int PetId { get; private set; } // sc
- /// <summary> 等级 </summary>
- public int Level { get; private set; } // sc
- /// <summary> 升级消耗同ID铭文的数量 </summary>
- public int LevelUpCost { get; private set; } // sc
- /// <summary> 拥有效果属性名称1,属性值,属性名称2,属性值…… </summary>
- public int[] LvOwnAttr { get; private set; } // sc
- /// <summary> 效果参数 </summary>
- public int[] EffectArgs { get; private set; } // sc
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- PetId = reader.ReadInt();
- Level = reader.ReadInt();
- LevelUpCost = reader.ReadInt();
- LvOwnAttr = reader.ReadEnumerable<int[]>();
- EffectArgs = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(PetId);
- writer.Write(Level);
- writer.Write(LevelUpCost);
- writer.Write(LvOwnAttr);
- writer.Write(EffectArgs);
- }
- }
- }
|