mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-29 07:55:42 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25fbbbbff1 |
@@ -17,7 +17,7 @@ namespace shardok {
|
||||
using net::eagle0::shardok::api::GameStateView;
|
||||
using net::eagle0::shardok::api::GameStateViewDiff;
|
||||
|
||||
auto MakeGameStateViewDiff(const GameStateView& before, const GameStateView& after)
|
||||
[[nodiscard]] auto MakeGameStateViewDiff(const GameStateView& before, const GameStateView& after)
|
||||
-> std::optional<GameStateViewDiff>;
|
||||
|
||||
} // namespace shardok
|
||||
|
||||
@@ -26,10 +26,10 @@ public:
|
||||
[[nodiscard]] auto what() const noexcept -> const char* override { return description.c_str(); }
|
||||
};
|
||||
|
||||
[[nodiscard]] auto LoadMap(const std::string& mapName) -> HexMapProto;
|
||||
auto LoadMap(const std::string& mapName) -> HexMapProto;
|
||||
|
||||
[[nodiscard]] auto LoadMapFromBytes(const std::string& mapBytes) -> HexMapProto;
|
||||
auto LoadMapFromBytes(const std::string& mapBytes) -> HexMapProto;
|
||||
|
||||
[[nodiscard]] auto GetMapNames() -> std::vector<std::string>;
|
||||
auto GetMapNames() -> std::vector<std::string>;
|
||||
|
||||
#endif // EAGLE0_SHARDOK_UTIL_MAP_LOADER_HPP
|
||||
|
||||
Reference in New Issue
Block a user