Skip to content

Feature: GalaxyEspionage - #50

Draft
flashover wants to merge 2 commits into
alaingilbert:developfrom
flashover:feature/galaxyespionage
Draft

Feature: GalaxyEspionage#50
flashover wants to merge 2 commits into
alaingilbert:developfrom
flashover:feature/galaxyespionage

Conversation

@flashover

Copy link
Copy Markdown
Contributor

This is code to send espionage missions directly from galaxy. Seems to work better in Ogamev7, it makes less galaxyurl() calls. Code could be simpler if it would return immediately if the JSON struct would have success = false . But it needs some kind of statemachine to forcefully refresh and get new token (=galaxyurl()).

Let me know your thoughts!

@codecov-io

codecov-io commented Dec 31, 2019

Copy link
Copy Markdown

Codecov Report

Merging #50 into develop will decrease coverage by 1.04%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #50      +/-   ##
===========================================
- Coverage    43.81%   42.77%   -1.05%     
===========================================
  Files          108      108              
  Lines         8923     9140     +217     
===========================================
  Hits          3910     3910              
- Misses        4907     5124     +217     
  Partials       106      106
Impacted Files Coverage Δ
ogame.go 5.01% <0%> (-0.42%) ⬇️
prioritize.go 0% <0%> (ø) ⬆️
handlers.go 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a814bfe...82d9a8e. Read the comment docs.

…). The GalaxyEspionage2() is a simpler version of the original GalaxyEspionage(). GalaxyEspionageWithFallbackToSendFleet() calls GalaxyEspionage2() but if that fails it will fall back to SendFleet()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants