2021-05-01 22:06:12 +08:00
|
|
|
using ET;
|
|
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
|
|
|
|
namespace Cal.DataTable
|
|
|
|
{
|
|
|
|
[Config]
|
|
|
|
public partial class StarSoulAttributeConfigCategory : ACategory<StarSoulAttributeConfig>
|
|
|
|
{
|
|
|
|
public static StarSoulAttributeConfigCategory Instance;
|
|
|
|
public StarSoulAttributeConfigCategory()
|
|
|
|
{
|
|
|
|
Instance = this;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public partial class StarSoulAttributeConfig:IConfig
|
|
|
|
{
|
|
|
|
[BsonId]
|
|
|
|
public long Id { get; set; }
|
2021-05-05 13:36:19 +08:00
|
|
|
public byte Type;
|
|
|
|
public byte Quality;
|
|
|
|
public byte Key;
|
2021-05-01 22:06:12 +08:00
|
|
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
|
|
|
public float Value;
|
2021-05-05 13:36:19 +08:00
|
|
|
public byte ViceWeight;
|
2021-05-01 22:06:12 +08:00
|
|
|
}
|
|
|
|
}
|