24 lines
398 B
C#
24 lines
398 B
C#
|
using ET;
|
||
|
using MongoDB.Bson.Serialization.Attributes;
|
||
|
|
||
|
namespace Cal.DataTable
|
||
|
{
|
||
|
[Config]
|
||
|
public partial class PetConfigCategory : ACategory<PetConfig>
|
||
|
{
|
||
|
public static PetConfigCategory Instance;
|
||
|
public PetConfigCategory()
|
||
|
{
|
||
|
Instance = this;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public partial class PetConfig:IConfig
|
||
|
{
|
||
|
[BsonId]
|
||
|
public long Id { get; set; }
|
||
|
public string Name;
|
||
|
public int PrefabId;
|
||
|
}
|
||
|
}
|