splib transition

This commit is contained in:
2025-07-10 16:34:28 +02:00
parent c0473e5a65
commit cc57e03bc4
29 changed files with 146 additions and 1127 deletions

14
include/td/game/Game.h Normal file
View File

@@ -0,0 +1,14 @@
#pragma once
#include <td/game/GameHistory.h>
namespace td {
namespace game {
class Game {
private:
GameHistory m_History;
};
} // namespace game
} // namespace td

View File

@@ -1,5 +1,6 @@
#pragma once
#define BOOST_PFR_USE_CPP17 0
#include <optional>
#include <td/protocol/command/Commands.h>
#include <td/protocol/packet/Packets.h>
@@ -30,7 +31,7 @@ class GameHistory {
void FromPacket(td::protocol::pdata::LockSteps&& a_Steps);
td::protocol::packets::LockSteps ToPacket(HistorySizeType a_StartIndex);
td::protocol::packets::LockStepsPacket ToPacket(HistorySizeType a_StartIndex);
};
} // namespace game