57 lines
1007 B
C#
57 lines
1007 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using static XPlugin.Data.JsonLiteDB.JsonLiteDB;
|
|
|
|
|
|
|
|
|
|
public enum PropType
|
|
{
|
|
BloodBag = 501,
|
|
EnergyMask = 502,
|
|
AtkBuff = 503,
|
|
DefenseBuff = 504,
|
|
EnergyPump = 505
|
|
}
|
|
public class PropInfo
|
|
{
|
|
|
|
/// <summary>
|
|
/// 돛야顆寧ID
|
|
/// </summary>
|
|
public int PropId;
|
|
|
|
/// <summary>
|
|
/// 돛야CN츰냔
|
|
/// </summary>
|
|
public string PropNameCn;
|
|
|
|
/// <summary>
|
|
/// 돛야EN츰냔
|
|
/// </summary>
|
|
public string PropName;
|
|
|
|
/// <summary>
|
|
/// 돛야깊甘
|
|
/// </summary>
|
|
public string PropDesc;
|
|
/// <summary>
|
|
/// 돛야槻벎 넉溝鑒
|
|
/// </summary>
|
|
public float Effect;
|
|
|
|
|
|
public PropInfo(TableReader table)
|
|
{
|
|
|
|
PropId = table["PropId"].OptInt();
|
|
PropNameCn = table["PropNameCn"].OptString();
|
|
PropName = table["PropName"].OptString();
|
|
PropDesc = table["PropDesc"].OptString();
|
|
Effect = table["Effect"].OptFloat();
|
|
}
|
|
|
|
|
|
}
|