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

Commit 640e716

Browse files
author
Not Officer
committed
added cosmeticid property
1 parent b1f291d commit 640e716

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,19 @@
33
using System.Diagnostics;
44

55
using J = Newtonsoft.Json.JsonPropertyAttribute;
6+
using I = Newtonsoft.Json.JsonIgnoreAttribute;
67

78
namespace Fortnite_API.Objects.V2
89
{
910
[DebuggerDisplay("{" + nameof(Id) + "}")]
1011
public class BrNewDisplayAssetV2 : IEquatable<BrNewDisplayAssetV2>
1112
{
1213
[J] public string Id { get; private set; }
14+
[J] public string CosmeticId { get; private set; }
1315
[J] public List<BrMaterialInstanceV2> MaterialInstances { get; private set; }
1416

17+
[I] public bool HasCosmeticId => CosmeticId != null;
18+
1519
public bool Equals(BrNewDisplayAssetV2 other)
1620
{
1721
if (ReferenceEquals(null, other))

0 commit comments

Comments
 (0)