Files
MRFishingMaster/Assets/_FishingMaster/Scripts/Data/PropData.cs
2026-02-02 15:16:02 +08:00

55 lines
1.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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();
}
}