44 lines
847 B
C#
44 lines
847 B
C#
using static XPlugin.Data.JsonLiteDB.JsonLiteDB;
|
|
|
|
public enum BulletType
|
|
{
|
|
QuickBullet = 0,
|
|
HR01Bullet = 1,
|
|
PHR01Bullet = 2,
|
|
MR3Bullet = 3,
|
|
GRMIIBullet = 4,
|
|
BLR02Bullet = 5,
|
|
GatlingBullet = 6,
|
|
ElectroBullet = 7,
|
|
DragonBossBullet = 8,
|
|
PistolBullet = 9
|
|
}
|
|
|
|
public class BulletInfo
|
|
{
|
|
public int ID;
|
|
|
|
public int Type;
|
|
|
|
public string Name;
|
|
|
|
public string CN_Name;
|
|
|
|
public int Lvl;
|
|
|
|
public float Damage;
|
|
|
|
public float DeToughness;
|
|
|
|
public BulletInfo(TableReader table)
|
|
{
|
|
ID = table["ID"].OptInt();
|
|
Type = table["Type"].OptInt();
|
|
Name = table["Name"].OptString();
|
|
CN_Name = table["CN_Name"].OptString();
|
|
Lvl = table["Lvl"].OptInt();
|
|
Damage = table["Damage"].OptInt();
|
|
DeToughness = table["DeToughness"].OptFloat();
|
|
}
|
|
}
|