Skip to content

Commit

Permalink
Add Auctions system OnCancel hook. (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro authored Nov 4, 2024
1 parent 7f88d3e commit 8c74fa2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions auctions.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,7 @@ type AuctionsSystem interface {

// SetOnClaimCreatedFailed sets a custom reward function which will run after a failed auction is claimed by the auction creator.
SetOnClaimCreatedFailed(fn OnAuctionReward[*AuctionReward])

// SetOnCancel sets a custom reward function which will run after an auction is cancelled by the auction creator.
SetOnCancel(fn OnAuctionReward[*AuctionReward])
}

0 comments on commit 8c74fa2

Please sign in to comment.