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;
|
||||
|
||||
@@ -6,9 +7,20 @@ namespace SVSim.EmulatedEntrypoint.Models.Dtos;
|
||||
public class DefaultSettings
|
||||
{
|
||||
[Key("default_emblem_id")]
|
||||
public ulong DefaultEmblemId { get; set; }
|
||||
public int DefaultEmblemId { get; set; }
|
||||
[Key("default_degree_id")]
|
||||
public int DefaultDegreeId { get; set; }
|
||||
[Key("default_mypage_id")]
|
||||
public ulong DefaultMyPageBackground { get; set; }
|
||||
public int DefaultMyPageBackground { get; set; }
|
||||
|
||||
public DefaultSettings(GameConfiguration config)
|
||||
{
|
||||
this.DefaultMyPageBackground = config.DefaultMyPageBackground.Id;
|
||||
this.DefaultDegreeId = config.DefaultDegree.Id;
|
||||
this.DefaultEmblemId = config.DefaultEmblem.Id;
|
||||
}
|
||||
|
||||
public DefaultSettings()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user