31 lines
586 B
C#
31 lines
586 B
C#
using ET;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace Cal.DataTable
|
|
{
|
|
[Config]
|
|
public partial class Sys_PrefabCategory : ACategory<Sys_Prefab>
|
|
{
|
|
public static Sys_PrefabCategory Instance;
|
|
public Sys_PrefabCategory()
|
|
{
|
|
Instance = this;
|
|
}
|
|
}
|
|
|
|
public partial class Sys_Prefab:IConfig
|
|
{
|
|
[BsonId]
|
|
public long Id { get; set; }
|
|
public string Name;
|
|
public string Desc;
|
|
public byte AssetCategory;
|
|
public string AssetPath;
|
|
public byte PoolId;
|
|
public bool CullDespawned;
|
|
public int CullAbove;
|
|
public int CullDelay;
|
|
public int CullMaxPerPass;
|
|
}
|
|
}
|