1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> rune </summary>
- public sealed class runeTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 符文槽id </summary>
- public int Id { get; private set; }
- /// <summary> 符文槽位 </summary>
- public string[] Name { get; private set; } // c
- /// <summary> 升级权重(万分比) </summary>
- public int Weight { get; private set; }
- /// <summary> 消耗材料道具id+数量 </summary>
- public int[] LevelUpCost { get; private set; }
- /// <summary> 符文类型 </summary>
- public int[] Handoff { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Name = reader.ReadEnumerable<string[]>();
- Weight = reader.ReadInt();
- LevelUpCost = reader.ReadEnumerable<int[]>();
- Handoff = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Name);
- writer.Write(Weight);
- writer.Write(LevelUpCost);
- writer.Write(Handoff);
- }
- }
- }
|