zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Server/Model/Game/Data/MaterialBase.cs

35 lines
731 B
C#
Raw Normal View History

2021-04-08 20:09:59 +08:00
using ET;
using MongoDB.Bson.Serialization.Attributes;
namespace Cal.DataTable
{
[Config]
public partial class MaterialBaseCategory : ACategory<MaterialBase>
{
public static MaterialBaseCategory Instance;
public MaterialBaseCategory()
{
Instance = this;
}
}
public partial class MaterialBase:IConfig
{
[BsonId]
public long Id { get; set; }
public string Name;
public string IconName;
public int MaterialType;
public int GemLevel;
public int GemType;
public int GemKey;
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
public float GemValue;
public int Price;
public int Quality;
public bool IsLock;
public ushort MaxAmount;
public string Description;
}
}