I was looking at adding functionality that resembles how most point collection programmes (such as airline mileage programmes) work:
You get awarded points and they decay at a certain date in the future if not spent until then.
By skimming over the code base and the wiki, I found that APAs might be the closest thing to that idea.
I'm currently assessing what would need to be done for implementing such functionality as an APA.
It seems that the magic is happening in the `get_value` function of the APAs.
Thus, my main question here is what parameters is this function called with and when?
As far as I can see, it seems to be called per member id, but I am unsure about the event id and various other parameters supplied in the data field.
Thank you so much for your support.