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;
|
||||
|
||||
@@ -15,4 +16,17 @@ public class UserLeaderSkin
|
||||
public int EmoteId { get; set; }
|
||||
[Key("is_owned")]
|
||||
public bool IsOwned { get; set; }
|
||||
|
||||
public UserLeaderSkin(LeaderSkinEntry leaderSkin, bool isOwned)
|
||||
{
|
||||
this.Id = leaderSkin.Id;
|
||||
this.Name = leaderSkin.Name;
|
||||
this.ClassId = leaderSkin.Class.Id;
|
||||
this.EmoteId = leaderSkin.EmoteId;
|
||||
this.IsOwned = isOwned;
|
||||
}
|
||||
|
||||
public UserLeaderSkin()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user