| 1728 | // clang-format on |
| 1729 | |
| 1730 | static std::string GetActionName(GameCommand commandId) |
| 1731 | { |
| 1732 | auto it = ActionNameToType.find(commandId); |
| 1733 | if (it != ActionNameToType.end()) |
| 1734 | { |
| 1735 | return std::string{ it->first }; |
| 1736 | } |
| 1737 | return {}; |
| 1738 | } |
| 1739 | |
| 1740 | static std::unique_ptr<GameActions::GameAction> CreateGameActionFromActionId(const std::string& name) |
| 1741 | { |
no test coverage detected