29 lines
572 B
C#
29 lines
572 B
C#
|
using ET;
|
||
|
using MongoDB.Bson.Serialization.Attributes;
|
||
|
|
||
|
namespace Cal.DataTable
|
||
|
{
|
||
|
[Config]
|
||
|
public partial class EquipAffixConfigCategory : ACategory<EquipAffixConfig>
|
||
|
{
|
||
|
public static EquipAffixConfigCategory Instance;
|
||
|
public EquipAffixConfigCategory()
|
||
|
{
|
||
|
Instance = this;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public partial class EquipAffixConfig:IConfig
|
||
|
{
|
||
|
public partial class Affix
|
||
|
{
|
||
|
public int Key;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Value;
|
||
|
}
|
||
|
[BsonId]
|
||
|
public long Id { get; set; }
|
||
|
public Affix[] AffixArr;
|
||
|
}
|
||
|
}
|