载入中...
搜索中...
未找到
TacticsReplay.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
8
9#include <span>
10
11namespace eve::tactics {
12
21public:
23 [[nodiscard]] static std::vector<BattleCommand> commandsFrom(Battle& battle, Revision fromRevision);
24
29 [[nodiscard]] static Result<void> replay(Battle& battle, std::span<const BattleCommand> commands);
30};
31
32} // namespace eve::tactics
#define EVENGINE_API_DOMAINS
Definition Export.h:110
Checked battle setup and deterministic phase systems.
std::vector< VegetationPresetCommand > commands
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Replays accepted commands against an identity-compatible starting battle.
Battle short-root and authoritative owner of board and turn state.