12345678910111213141516171819202122232425262728293031323334353637 |
- // 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; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Name = reader.ReadString();
- Weight = reader.ReadInt();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Name);
- writer.Write(Weight);
- }
- }
- }
|