using System.Collections; using System.Collections.Generic; using UnityEngine; using static XPlugin.Data.JsonLiteDB.JsonLiteDB; public enum PropType { BloodBag = 501, AtkBuff = 503, DefenseBuff = 504, EnergyPump = 505 } public class PropData { /// /// ����ΨһID /// public int PropId; /// /// ����CN���� /// public string PropNameCn; /// /// ����EN���� /// public string PropName; /// /// ���߱��� /// public string PropDesc; /// /// ����Ч�� ��ϵ�� /// public float Effect; public PropData(TableReader table) { PropId = table["PropId"].OptInt(); PropNameCn = table["PropNameCn"].OptString(); PropName = table["PropName"].OptString(); PropDesc = table["PropDesc"].OptString(); Effect = table["Effect"].OptFloat(); } }