2021-04-10 19:49:32 +08:00
|
|
|
using ET;
|
|
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
|
|
|
|
namespace Cal.DataTable
|
|
|
|
{
|
|
|
|
[Config]
|
|
|
|
public partial class PetLevelConfigCategory : ACategory<PetLevelConfig>
|
|
|
|
{
|
|
|
|
public static PetLevelConfigCategory Instance;
|
|
|
|
public PetLevelConfigCategory()
|
|
|
|
{
|
|
|
|
Instance = this;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public partial class PetLevelConfig:IConfig
|
|
|
|
{
|
|
|
|
[BsonId]
|
|
|
|
public long Id { get; set; }
|
2021-04-24 17:39:11 +08:00
|
|
|
public int MaxLevel;
|
2021-04-10 19:49:32 +08:00
|
|
|
public int Exp;
|
|
|
|
public int ExpByLevel;
|
|
|
|
}
|
|
|
|
}
|