31 lines
691 B
C#
31 lines
691 B
C#
|
using ET;
|
||
|
using MongoDB.Bson.Serialization.Attributes;
|
||
|
|
||
|
namespace Cal.DataTable
|
||
|
{
|
||
|
[Config]
|
||
|
public partial class MapMonsterConfigCategory : ACategory<MapMonsterConfig>
|
||
|
{
|
||
|
public static MapMonsterConfigCategory Instance;
|
||
|
public MapMonsterConfigCategory()
|
||
|
{
|
||
|
Instance = this;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public partial class MapMonsterConfig:IConfig
|
||
|
{
|
||
|
[BsonId]
|
||
|
public long Id { get; set; }
|
||
|
public string Name;
|
||
|
public string Desc;
|
||
|
public int PrefabId;
|
||
|
public int Level;
|
||
|
public int Dropasubset;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float X;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Y;
|
||
|
}
|
||
|
}
|