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