You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
429 B

using IVDataFormat;
using System.Numerics;
using UnityEngine;
[CreateAssetMenu(fileName = "ItemProp", menuName = "ScriptableObject/Item/ItemProp")]
public class ItemProp : ScriptableObject
{
[SerializeField] uint id;
[SerializeField] uint subId;
public uint ID => id;
public uint SubID => subId;
public nGoods ConvertTo(BigInteger count)
{
return new nGoods((int)id, (int)subId, count);
}
}