46 lines
831 B
C#
46 lines
831 B
C#
using static XPlugin.Data.JsonLiteDB.JsonLiteDB;
|
|
|
|
public enum BulletType
|
|
{
|
|
IceBullet,
|
|
BubbleBullet,
|
|
LightingBullet,
|
|
BlackBullet,
|
|
WoodArrow,
|
|
WindArrow,
|
|
FireArrow,
|
|
PoisonArrow,
|
|
ScatterArrow,
|
|
HomingArrow,
|
|
StormArrow,
|
|
GuardBullet,
|
|
}
|
|
|
|
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();
|
|
}
|
|
}
|