Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 8dfbde6

Browse files
author
Not Officer
committed
added flags property
1 parent 640e716 commit 8dfbde6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Fortnite-API/Objects/V2/BrMaterialInstanceV2.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ public class BrMaterialInstanceV2 : IEquatable<BrMaterialInstanceV2>
1414
[J] public Dictionary<string, Uri> Images { get; private set; }
1515
[J] public Dictionary<string, BrMaterialInstanceV2Color> Colors { get; private set; }
1616
[J] public Dictionary<string, float> Scalings { get; private set; }
17+
[J] public Dictionary<string, bool> Flags { get; private set; }
1718

1819
[I] public bool HasImages => Images != null && Images.Count != 0;
1920
[I] public bool HasColors => Colors != null && Colors.Count != 0;
2021
[I] public bool HasScalings => Scalings != null && Scalings.Count != 0;
22+
[I] public bool HasFlags => Flags != null && Flags.Count != 0;
2123

2224
public bool Equals(BrMaterialInstanceV2 other)
2325
{

src/Fortnite-API/Objects/V2/BrNewDisplayAssetV2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
using System.Collections.Generic;
33
using System.Diagnostics;
44

5-
using J = Newtonsoft.Json.JsonPropertyAttribute;
65
using I = Newtonsoft.Json.JsonIgnoreAttribute;
6+
using J = Newtonsoft.Json.JsonPropertyAttribute;
77

88
namespace Fortnite_API.Objects.V2
99
{

0 commit comments

Comments
 (0)