mirror of
https://github.com/4sval/FModel.git
synced 2026-09-27 11:37:58 -05:00
added ammo type to weapon icon creation
This commit is contained in:
@@ -47,6 +47,9 @@ namespace FModel.Parser.Items
|
||||
|
||||
[JsonProperty("DisplayAssetPath")]
|
||||
public DisplayAssetPath DisplayAssetPath { get; set; }
|
||||
|
||||
[JsonProperty("AmmoData")]
|
||||
public AmmoData AmmoData { get; set; }
|
||||
}
|
||||
|
||||
public class GameplayTags
|
||||
@@ -73,6 +76,15 @@ namespace FModel.Parser.Items
|
||||
public string SubPathString { get; set; }
|
||||
}
|
||||
|
||||
public partial class AmmoData
|
||||
{
|
||||
[JsonProperty("asset_path_name")]
|
||||
public string AssetPathName { get; set; }
|
||||
|
||||
[JsonProperty("sub_path_string")]
|
||||
public string SubPathString { get; set; }
|
||||
}
|
||||
|
||||
public partial class ItemsIdParser
|
||||
{
|
||||
public static ItemsIdParser[] FromJson(string json) => JsonConvert.DeserializeObject<ItemsIdParser[]>(json, Converter.Settings);
|
||||
|
||||
Reference in New Issue
Block a user