mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-27 08:27:14 +01:00
Build the mesh tests again: their fake transport takes the direct address
38d86e1 gave SteamTransport::join a direct IP and port and added
take_direct_notes(), but the fake transport in mesh_tests.cpp kept the old
join and had no take_direct_notes, so the Windows test build failed. The
fake ignores the direct address and has no notes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
30f000f90d
commit
57c440507a
1 file changed
+2
-1
@@ -134,7 +134,7 @@ bool SteamTransport::host(unsigned capacity) {
|
||||
impl_->state.hosting = true;
|
||||
return true;
|
||||
}
|
||||
bool SteamTransport::join(std::uint64_t id) {
|
||||
bool SteamTransport::join(std::uint64_t id, std::uint32_t, std::uint16_t) {
|
||||
if (SimulatedNetwork::slow_join) Sleep(2);
|
||||
stop();
|
||||
open();
|
||||
@@ -234,6 +234,7 @@ std::vector<TransportMessage> SteamTransport::receive() {
|
||||
const TransportStatus &SteamTransport::status() const { return impl_->state; }
|
||||
std::string SteamTransport::name(std::uint64_t id) { return "Player " + std::to_string(id); }
|
||||
bool SteamTransport::socket_test() { return true; }
|
||||
std::vector<std::string> SteamTransport::take_direct_notes() { return {}; }
|
||||
|
||||
// No native/game/UI calls in this harness.
|
||||
NativeFrame tick_frame;
|
||||
|
||||
Reference in new issue
Block a user