Is there any callbacks that is fired after all of the tournaments reset hook is called?
Use case for a weekly tiered tournaments that ends, at the end of tournament, user would move up / down a tier. Info of which tournament for that user that could be entered is stored in a bookkeeping storage owned by system.
For simplicity, let’s say it’s only store the tournament name (in reality there is many little things that would filter which tournament id user could be entered in, by their userdata level, or for segmenting customer / non customer tournaments).
Bookkeeping storage data would be
{
“bronze” : 0,
…
}
We only create 1 tournament for each tier in the shape of week_tier_number, with that info tournament would be in the form of week_49_bronze_0
If tournament is full, subsequent join of user would create a new tournament week_49_bronze_1, and then update the bookkeeping storage
What we want to do is at the end of tournaments reset schedule
- After all tournament ends and rewards distributed we move players tier
- Delete all tournaments
- Recreate only one tournament only for each tier.
- Update the bookkeeping storage to default
- Then new user would join that new tournament for this week
Can’t seem to find a way to do that form of orchestrating, what would other games usually do for this?