Migrate legacy activities to the activity actor system
#40.013 aperta il 29 apr 2020
Metriche repository
- Star
- (9264 star)
- Metriche merge PR
- (Merge medio 6g 5h) (292 PR mergiate in 30 g)
Descrizione
We have a new system for creating activities that is more robust and flexible that the previous one. However, most activities still use use the old system. It would be good if we could migrate these legacy activities to the new system, as the resulting code is easier to read, understand, and maintain.
For reference, the initial PR implementing the system is #37450 and a few example PRs migrating an activity to the new system are #39297 and #39646. Documentation for the activity actor system can be found here: doc/PLAYER_ACTIVITY.md. The activity handlers needing migration can be found in src/activity_handling.cpp.
If you'd like to help with this and have questions, feel free to hit me up on IRC or the development discord or just ping me for a pull request review.