File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
Enjin.Platform.Sdk.Marketplace/Schema/Queries
Enjin.Platform.Sdk/Schema Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -67,4 +67,14 @@ public GetListings SetTakeAssetId(MultiTokenIdInput? takeAssetId)
6767 {
6868 return SetVariable ( "takeAssetId" , CoreTypes . MultiTokenIdInput , takeAssetId ) ;
6969 }
70+
71+ /// <summary>
72+ /// Sets the listing states that will be returned.
73+ /// </summary>
74+ /// <param name="states">The list of states that you want returned</param>
75+ /// <returns>This request for chaining.</returns>
76+ public GetListings SetStates ( params ListingStateEnum [ ] ? states )
77+ {
78+ return SetVariable ( "states" , CoreTypes . ListingStateEnumArray , states ) ;
79+ }
7080}
Original file line number Diff line number Diff line change @@ -331,4 +331,16 @@ public static class CoreTypes
331331 /// String for an array of <c>TransferRecipient</c> type.
332332 /// </summary>
333333 public const string TransferRecipientArray = "[TransferRecipient!]!" ;
334+
335+ // ListingStateEnum
336+
337+ /// <summary>
338+ /// String for <c>ListingStateEnum</c> type.
339+ /// </summary>
340+ public const string ListingStateEnum = "ListingStateEnum!" ;
341+
342+ /// <summary>
343+ /// String for an array of <c>ListingStateEnumArray</c> type.
344+ /// </summary>
345+ public const string ListingStateEnumArray = "[ListingStateEnum!]!" ;
334346}
You can’t perform that action at this time.
0 commit comments