Mode Change API
The BBot API needs a method to send mode changes to the addons so that they can react accordingly. This could possibly be done via callbacks like commands are so that the code doesn't slow down when multiple modules are given mode info that they will never use.
Blueprint information
Related branches
Related bugs
Sprints
Whiteboard
Requested Feedback from aj00200:
What do you think about having it hooked, otherwise, it would probably be passed via the get_raw method.
Response:
I think that having it hooked would be a good idea, that way we can easily have modules react in accordance to mode changes as they occur (useful for the bantracker module and other mode-change-
---
Requested Feedback from aj00200:
I'm also questioning if we should convert the bot over to using more callbacks.
Response:
We can discuss converting the entire bot over to using more callbacks in a separate blueprint, if you'd rather discuss that option separately from the mode change api. In fact, I recommend that over discussing converting the entire bot over to using more callbacks, as we want to focus on the Mode Change API in this blueprint.
--EvilPhoenix
**EDIT** Priority changed for blueprint to Medium. Reason: other blueprints depend on this blueprint.
-------
Started implementation May 7th, 2011 and have gone with the callback method for the mode changes. It is almost complete, but still needs some more testing.
--AJ00200
-------
Work Items
Dependency tree
* Blueprints in grey have been implemented.