80 lines
2.4 KiB
C#
80 lines
2.4 KiB
C#
|
using ET;
|
||
|
using MongoDB.Bson.Serialization.Attributes;
|
||
|
|
||
|
namespace Cal.DataTable
|
||
|
{
|
||
|
[Config]
|
||
|
public partial class BossBaseCategory : ACategory<BossBase>
|
||
|
{
|
||
|
public static BossBaseCategory Instance;
|
||
|
public BossBaseCategory()
|
||
|
{
|
||
|
Instance = this;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public partial class BossBase:IConfig
|
||
|
{
|
||
|
public partial class BossEquip
|
||
|
{
|
||
|
public int BossEquip_Id;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float BossEquip_Probability;
|
||
|
public int BossEquip_Count;
|
||
|
}
|
||
|
public partial class BossGoods
|
||
|
{
|
||
|
public int BossGoods_Id;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float BossGoods_Probability;
|
||
|
public int BossGoods_Count;
|
||
|
}
|
||
|
public partial class BossMaterials
|
||
|
{
|
||
|
public int BossMaterials_Id;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float BossMaterials_Probability;
|
||
|
public int BossMaterials_Count;
|
||
|
}
|
||
|
[BsonId]
|
||
|
public long Id { get; set; }
|
||
|
public string Name;
|
||
|
public int PrefabId;
|
||
|
public int RefreshInterval;
|
||
|
public ushort Level;
|
||
|
public int Coin;
|
||
|
public int Exp;
|
||
|
public BossEquip[] BossEquipArr;
|
||
|
public BossGoods[] BossGoodsArr;
|
||
|
public BossMaterials[] BossMaterialsArr;
|
||
|
public int Hp;
|
||
|
public int PhyAtk;
|
||
|
public int SpiAtk;
|
||
|
public int PhyDef;
|
||
|
public int SpiDef;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Pcrir;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Mcrir;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Pcri;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Mcri;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Dvo;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Rpcrir;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Rmcrir;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Rpcri;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Rmcri;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Nphyi;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Nmeni;
|
||
|
public int SkillId;
|
||
|
}
|
||
|
}
|