55 lines
1.0 KiB
C#
55 lines
1.0 KiB
C#
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
|
||
{
|
||
|
||
/// <summary>
|
||
/// <20><><EFBFBD><EFBFBD>ΨһID
|
||
/// </summary>
|
||
public int PropId;
|
||
|
||
/// <summary>
|
||
/// <20><><EFBFBD><EFBFBD>CN<43><4E><EFBFBD><EFBFBD>
|
||
/// </summary>
|
||
public string PropNameCn;
|
||
|
||
/// <summary>
|
||
/// <20><><EFBFBD><EFBFBD>EN<45><4E><EFBFBD><EFBFBD>
|
||
/// </summary>
|
||
public string PropName;
|
||
|
||
/// <summary>
|
||
/// <20><><EFBFBD>߱<EFBFBD><DFB1><EFBFBD>
|
||
/// </summary>
|
||
public string PropDesc;
|
||
/// <summary>
|
||
/// <20><><EFBFBD><EFBFBD>Ч<EFBFBD><D0A7> <20><>ϵ<EFBFBD><CFB5>
|
||
/// </summary>
|
||
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();
|
||
}
|
||
|
||
|
||
}
|