class

IRollbackTransport

Moves session messages between players. Unreliable is fine: every message carries all the input the receiver has not acknowledged yet. Receive's outFromPlayer is the transport's word for who sent it — the connection, not anything in the message — and a message that claims another sender is dropped.

Module
Game
Header
#include "Rollback/RollbackSession.h"
Namespace
Mowo

Constructors

SignatureNameDescription
virtual ~IRollbackTransport() = default~IRollbackTransport

Public functions

ReturnsNameDescription
voidSend
boolReceive

Function details

~IRollbackTransport

C++
virtual ~IRollbackTransport() = default

Send

C++
virtual void Send(uint32_t toPlayer, const std::vector<uint8_t>& message) = 0

Receive

C++
virtual bool Receive(uint32_t& outFromPlayer, std::vector<uint8_t>& outMessage) = 0
Generated from Rollback/RollbackSession.h via game.json · Nov 5, 2026Version 1.0.0