Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add game mode info to CommanderEntry #98

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

BafDyce
Copy link
Contributor

@BafDyce BafDyce commented Nov 1, 2024

And also parse the groups' name as part of the GameMode enum. This merge request depends on #96

…t inner log_state

I think this was an oversight during implementing rster2002#95. Currently, there is no
possibility for 3rd party code to actually access the current
GameCommanderEntry (which makes it impossible to e.g., access the current
commanders' name)
Since this information is static during a session, it should be fine to keep it
in GameCommanderEntry and not in the LogState?
@BafDyce BafDyce marked this pull request as draft November 1, 2024 20:43
@BafDyce
Copy link
Contributor Author

BafDyce commented Nov 1, 2024

After thinking about it a bit more, I think it makes more sense to move the game_mode field to the LogState struct.. Because the next step would be to also include the current ship info which can change during a session.

@rster2002 rster2002 added the enhancement New feature or request label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants