Interned more strings
This commit is contained in:
@@ -1519,11 +1519,19 @@ public record SpawnPointParam
|
||||
|
||||
public record ColliderParams
|
||||
{
|
||||
private string? _parent;
|
||||
|
||||
[JsonPropertyName("_parent")]
|
||||
public string? Parent
|
||||
{
|
||||
get;
|
||||
set;
|
||||
get
|
||||
{
|
||||
return _parent;
|
||||
}
|
||||
set
|
||||
{
|
||||
_parent = string.Intern(value);
|
||||
}
|
||||
}
|
||||
|
||||
[JsonPropertyName("_props")]
|
||||
|
||||
@@ -221,10 +221,17 @@ public record LooseLootItemDistribution
|
||||
|
||||
public record ComposedKey
|
||||
{
|
||||
private string? _key;
|
||||
[JsonPropertyName("key")]
|
||||
public string? Key
|
||||
{
|
||||
get;
|
||||
set;
|
||||
get
|
||||
{
|
||||
return _key;
|
||||
}
|
||||
set
|
||||
{
|
||||
_key = string.Intern(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,8 @@ namespace Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record Item
|
||||
{
|
||||
private string? _id;
|
||||
|
||||
private string? _parentId;
|
||||
|
||||
private string? _SlotId;
|
||||
@@ -15,8 +17,14 @@ public record Item
|
||||
[JsonPropertyName("_id")]
|
||||
public string? Id
|
||||
{
|
||||
get;
|
||||
set;
|
||||
get
|
||||
{
|
||||
return _id;
|
||||
}
|
||||
set
|
||||
{
|
||||
_id = string.Intern(value);
|
||||
}
|
||||
}
|
||||
|
||||
[JsonPropertyName("_tpl")]
|
||||
|
||||
Reference in New Issue
Block a user