Lots of data and model setup
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using MessagePack;
|
||||
using SVSim.Database.Models;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
|
||||
|
||||
@@ -10,4 +11,14 @@ public class UserItem
|
||||
|
||||
[Key("number")]
|
||||
public int Number { get; set; }
|
||||
|
||||
public UserItem(OwnedItemEntry item)
|
||||
{
|
||||
this.ItemId = item.Item.Id;
|
||||
this.Number = item.Count;
|
||||
}
|
||||
|
||||
public UserItem()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user