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

34 lines
965 B
C#
Raw Normal View History

2021-04-08 20:09:59 +08:00
using ET;
using MongoDB.Bson.Serialization.Attributes;
namespace Cal.DataTable
{
[Config]
public partial class CharacterGrowthCategory : ACategory<CharacterGrowth>
{
public static CharacterGrowthCategory Instance;
public CharacterGrowthCategory()
{
Instance = this;
}
}
public partial class CharacterGrowth:IConfig
{
[BsonId]
public long Id { get; set; }
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
public float Str;
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
public float Wim;
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
public float Quk;
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
public float Spi;
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
public float Phy;
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
public float Sta;
}
}