Seeding reorg
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using MessagePack;
|
||||
using SVSim.Database.Models;
|
||||
using SVSim.Database.Models.Config;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
|
||||
@@ -17,14 +17,14 @@ public class DefaultSettings
|
||||
[Key("default_mypage_id")]
|
||||
public int DefaultMyPageBackground { get; set; }
|
||||
|
||||
public DefaultSettings(GameConfiguration config)
|
||||
public DefaultSettings(DefaultLoadoutConfig loadout)
|
||||
{
|
||||
this.DefaultMyPageBackground = config.Config.DefaultLoadout.MyPageBackgroundId;
|
||||
this.DefaultDegreeId = config.Config.DefaultLoadout.DegreeId;
|
||||
this.DefaultEmblemId = config.Config.DefaultLoadout.EmblemId;
|
||||
this.DefaultMyPageBackground = loadout.MyPageBackgroundId;
|
||||
this.DefaultDegreeId = loadout.DegreeId;
|
||||
this.DefaultEmblemId = loadout.EmblemId;
|
||||
}
|
||||
|
||||
public DefaultSettings()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user