// Generate By EToy
// Don't Edit It!!
using XGame.Framework.Database;
using XGame.Framework.Serialization;
namespace XGame.Database
{
/// guild
public sealed class guildTable : ITable
{
long ITable.Key => Id;
/// 公会功能ID
public int Id { get; private set; }
/// 功能名称
public string Name { get; private set; }
/// 建筑立绘
public string Picture { get; private set; }
/// 解锁条件角色等级+开服天数
public int[] Unlock { get; private set; }
void ISerializable.Deserialize(IReader reader)
{
Id = reader.ReadInt();
Name = reader.ReadString();
Picture = reader.ReadString();
Unlock = reader.ReadEnumerable();
}
void ISerializable.Serialize(IWriter writer)
{
writer.Write(Id);
writer.Write(Name);
writer.Write(Picture);
writer.Write(Unlock);
}
}
}