36 lines
817 B
C#
36 lines
817 B
C#
using ET;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace Cal.DataTable
|
|
{
|
|
[Config]
|
|
public partial class StrengthentableCategory : ACategory<Strengthentable>
|
|
{
|
|
public static StrengthentableCategory Instance;
|
|
public StrengthentableCategory()
|
|
{
|
|
Instance = this;
|
|
}
|
|
}
|
|
|
|
public partial class Strengthentable:IConfig
|
|
{
|
|
public partial class NeedMaterial
|
|
{
|
|
public int _Id;
|
|
public int Count;
|
|
}
|
|
[BsonId]
|
|
public long Id { get; set; }
|
|
public int FailLevel;
|
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
|
public float Probability;
|
|
public int MaxMinCount;
|
|
public int MaxMaxCount;
|
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
|
public float AttribteAdd;
|
|
public NeedMaterial[] NeedMaterialArr;
|
|
public int NeedCoin;
|
|
}
|
|
}
|