You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: craftersmine.SteamGridDB.Net/SteamGridDbObject.cs
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,9 @@ public class SteamGridDbObject
21
21
[JsonProperty("id")]
22
22
publicintId{get;privateset;}
23
23
/// <summary>
24
-
/// Gets item Score. No official documentation
24
+
/// Gets item Score. Obsolete by SteamGridDB API and will be always 0
25
25
/// </summary>
26
-
[JsonProperty("score")]
26
+
[JsonProperty("score"),Obsolete("This property is marked as obsolete by API developer and left only for backwards compatibility. This property will always return false")]
27
27
publicintScore{get;privateset;}
28
28
/// <summary>
29
29
/// Gets an item style
@@ -76,24 +76,24 @@ public class SteamGridDbObject
76
76
[JsonProperty("thumb")]
77
77
publicstringThumbnailImageUrl{get;privateset;}
78
78
/// <summary>
79
-
/// Gets <see langword="true"/> if item is locked by user, otherwise <see langword="false"/>. No official documentation
79
+
/// Gets <see langword="true"/> if item is locked by user, otherwise <see langword="false"/>. Obsolete by SteamGridDB API and will be always <see langword="false"/>
80
80
/// </summary>
81
-
[JsonProperty("lock")]
81
+
[JsonProperty("lock"),Obsolete("This property is marked as obsolete by API developer and left only for backwards compatibility. This property will always return false")]
82
82
publicboolIsLocked{get;privateset;}
83
83
/// <summary>
84
84
/// Gets <see langword="true"/> if contains content that can cause seizures or epilepsy, otherwise <see langword="false"/>
85
85
/// </summary>
86
86
[JsonProperty("epilepsy")]
87
87
publicboolCanCauseEpilepsy{get;privateset;}
88
88
/// <summary>
89
-
/// Gets a number of upvotes for item. No official documentation
89
+
/// Gets a number of upvotes for item. Obsolete by SteamGridDB API and will be always 0
90
90
/// </summary>
91
-
[JsonProperty("upvotes")]
91
+
[JsonProperty("upvotes"),Obsolete("This property is marked as obsolete by API developer and left only for backwards compatibility. This property will always return 0")]
92
92
publicintUpvotes{get;privateset;}
93
93
/// <summary>
94
-
/// Gets a number of downvotes for item. No official documentation
94
+
/// Gets a number of downvotes for item. Obsolete by SteamGridDB API and will be always 0
95
95
/// </summary>
96
-
[JsonProperty("downvotes")]
96
+
[JsonProperty("downvotes"),Obsolete("This property is marked as obsolete by API developer and left only for backwards compatibility. This property will always return 0")]
97
97
publicintDownvotes{get;privateset;}
98
98
/// <summary>
99
99
/// Gets a <see cref="SteamAuthor"/> object that created that item
0 commit comments