28 lines
606 B
C#
28 lines
606 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 int Type;
|
||
|
public int Quality;
|
||
|
public int Key;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Value;
|
||
|
public int ViceWeight;
|
||
|
}
|
||
|
}
|