mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 08:04:01 +00:00
Implement Weapon_Upgrade
This commit is contained in:
21
Common/Data/Excel/RecycleExcel.cs
Normal file
21
Common/Data/Excel/RecycleExcel.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace MikuSB.Data.Excel;
|
||||
|
||||
[ResourceEntity("recycle.json")]
|
||||
public class RecycleExcel : ExcelResource
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public JToken? RecycleBase { get; set; }
|
||||
public JToken? RecycleRatio { get; set; }
|
||||
|
||||
public override uint GetId()
|
||||
{
|
||||
return (uint)ID;
|
||||
}
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.RecycleData[ID] = this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user