zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Server/Model/Game/Data/StarSoulAttributeConfig.cs

28 lines
610 B
C#

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; }
public byte Type;
public byte Quality;
public byte Key;
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
public float Value;
public byte ViceWeight;
}
}