refactor(mod): changed hardcode items and locale to JSON controlled one
This commit is contained in:
16
moe.yuyui.weebsights-port/Models/WeebLocaleConfig.cs
Normal file
16
moe.yuyui.weebsights-port/Models/WeebLocaleConfig.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using SPTarkov.Server.Core.Models.Common;
|
||||
|
||||
namespace moe.yuyui.weebsights_port.Models;
|
||||
|
||||
public record WeebLocaleConfig()
|
||||
{
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonPropertyName("short_name")]
|
||||
public string ShortName { get; set; }
|
||||
|
||||
[JsonPropertyName("description")]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user