Skip to content
New issue

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

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

Already on GitHub? # to your account

A proposal on additional batteries: adding "type" info. #2

Closed
wants to merge 4 commits into from
Closed

A proposal on additional batteries: adding "type" info. #2

wants to merge 4 commits into from

Conversation

PeterRed4091
Copy link

Add a value for battery types into query response.
Include changes to bomb info extension methods.

Main idea is to differentiate 9-Volts from D-cells.
Introduce a new integer for battery types.
This is then used in battery-type queries.

Note: This is a very rough fix, so no guarantees.
Variables will likely need to change names.
Extension methods also change accordingly.
As vanilla batteries are used more often.
In case of only looking for specific battery sets, these can be useful.
Also minor change to code.
@PeterRed4091 PeterRed4091 reopened this Apr 3, 2018
@PeterRed4091 PeterRed4091 changed the title Fix issues with additional batteries in Multiple Widgets. A proposal on additional batteries: adding "type" info. Apr 7, 2018
@PeterRed4091
Copy link
Author

Note this proposal need further discussions, and may change in time.

@PeterRed4091
Copy link
Author

As this could possibly be against the original purposes, I might as well close it after such a long time.

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

Successfully merging this pull request may close these issues.

1 participant