Skip to content

Commit 656ed45

Browse files
authored
included boilerplates assistance to marketplace features (#71)
1 parent 4b3287d commit 656ed45

3 files changed

Lines changed: 30 additions & 3 deletions

File tree

sdk/unity/monetization/secondary-sales/accepting-offers.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,10 @@ if (result is SuccessfulTransactionReturn successTransaction) {
3030
}else {
3131
// Handle fail case
3232
}
33-
```
33+
```
34+
35+
You can jumpstart the process by using our Boilerplate Factory
36+
37+
```csharp
38+
BoilerplateFactory.OpenSellOfferPanel(Transform parent, ICheckout checkout, CollectibleOrder item, Action onClose = null)
39+
```

sdk/unity/monetization/secondary-sales/creating-listings.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,10 @@ if (result is SuccessfulTransactionReturn successTransaction) {
1515
}else {
1616
// Handle fail case
1717
}
18-
```
18+
```
19+
20+
You can jumpstart the process by using our Boilerplate Factory
21+
22+
```csharp
23+
BoilerplateFactory.OpenListItemPanel(Transform parent, ICheckout checkout, TokenBalance item, Action onClose = null)
24+
```

sdk/unity/monetization/secondary-sales/creating-offers.mdx

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,19 @@ if (result is SuccessfulTransactionReturn successTransaction) {
1515
}else {
1616
// Handle fail case
1717
}
18-
```
18+
```
19+
20+
21+
You can jumpstart the process by using our Boilerplate Factory
22+
23+
For wallet token balances
24+
25+
```csharp
26+
BoilerplateFactory.OpenCreateOfferPanel(Transform parent, ICheckout checkout, TokenBalance item, Action onClose = null)
27+
```
28+
29+
For marketplace collectible orders
30+
31+
```csharp
32+
BoilerplateFactory. OpenCreateOfferPanel(Transform parent,ICheckout checkout, CollectibleOrder item, Action onClose = null)
33+
```

0 commit comments

Comments
 (0)