Skip to content

GameState save and load functions present results through client UI #2998

Description

@bobtista

GameState::saveGame and GameState::loadGame directly present success and error messages through TheInGameUI and MessageBoxOk.

Save and load functions should return result codes without presenting UI. GUI callers can translate the returned result into the existing user-facing messages.

This allows save/load to be used by non-interactive callers without depending on client UI.

Metadata

Metadata

Assignees

Labels

RefactorEdits the code with insignificant behavior changes, is never user facing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions