|
Bicameral Engine
GPU-resident engine for a magic-research open-world game
|
#include <replay_session.h>
Public Member Functions | |
| void | AddCommands (std::span< const sim::Command > commands) |
| void | AddHash (uint64_t tick, uint64_t hash) |
| ReplayFile | Build () const |
| std::expected< void, std::string > | Write (const fs::path &path) const |
Private Attributes | |
| std::vector< sim::Command > | m_commands |
| std::vector< ReplayTickHash > | m_hashes |
Definition at line 23 of file replay_session.h.
| void bicameral::save::ReplayRecorder::AddCommands | ( | std::span< const sim::Command > | commands | ) |
Definition at line 21 of file replay_session.cpp.
References m_commands.
| void bicameral::save::ReplayRecorder::AddHash | ( | uint64_t | tick, |
| uint64_t | hash ) |
Definition at line 25 of file replay_session.cpp.
References m_hashes.
|
nodiscard |
Definition at line 30 of file replay_session.cpp.
References bicameral::save::ReplayFile::commands, m_commands, m_hashes, and bicameral::save::Probe.
Referenced by Write().
|
nodiscard |
Definition at line 39 of file replay_session.cpp.
References Build(), and bicameral::save::WriteReplayFile().
|
private |
Definition at line 33 of file replay_session.h.
Referenced by AddCommands(), and Build().
|
private |
Definition at line 34 of file replay_session.h.