15 lines
306 B
C#
Executable File
15 lines
306 B
C#
Executable File
namespace OmegaLeo.HelperLib.Game.Models
|
|
{
|
|
[System.Serializable]
|
|
public class Loot<T>
|
|
{
|
|
public T Item { get; set; }
|
|
public float Weight { get; set; }
|
|
|
|
public Loot(T item, float quantity)
|
|
{
|
|
Item = item;
|
|
Weight = quantity;
|
|
}
|
|
}
|
|
} |