Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to invoke custom function when bid was created #69

Open
janisgitendorfs opened this issue Oct 25, 2024 · 2 comments
Open

Add option to invoke custom function when bid was created #69

janisgitendorfs opened this issue Oct 25, 2024 · 2 comments

Comments

@janisgitendorfs
Copy link
Contributor

Linked: #67

Case example
When creating a game I would like to have option to hook into "before bid created" and "on successful bid".
This way I am able to create validation if player have enough "bid tokens" and upon successful bid I can extract them allowing limited amount of bids placed by single player.

@novabyte
Copy link
Member

@janisgitendorfs Why not make "bid tokens" into a currency which becomes part of the auction exchange of value? Can you describe more about how/when the player acquires "bid tokens"?

@janisgitendorfs
Copy link
Contributor Author

@novabyte The idea would be to introduce flexibility on what it is used.
In my mentioned scenario it would be great to use energy system and remove player energy when he bids on specific item, recharge and he can bid again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants