class
FSpatialStreamClient
- Module
- Networking
- Header
#include "Networking/Replication/SpatialStream.h"- Namespace
Mowo
Type aliases
| Alias | Description |
|---|---|
using FApplyFn = std::function<void(const FSpatialKey& key, uint32_t version, bool snapshot, const uint8_t* payload, size_t len)> | Called once per entry that advances a key, in version order per key. |
using FSendFn = std::function<void(const uint8_t* data, size_t len)> |
Public functions
| Returns | Name | Description |
|---|---|---|
void | SetApplyFn | |
void | SetInterest | Declares the keys this client wants, nearest first, together with the version it already holds for each. |
void | OnPacket | A packet from the server; acknowledges what it applied. |
uint32_t | GetVersion | |
void | SetKnownVersion | |
void | Forget | |
uint64_t | GetEntriesApplied | |
uint64_t | GetEntriesIgnored | |
uint64_t | GetMalformedPackets |
Function details
SetApplyFn
C++
void SetApplyFn(FApplyFn apply)SetInterest
C++
void SetInterest(const std::vector<FSpatialKey>& keysNearestFirst, const FSendFn& send)Declares the keys this client wants, nearest first, together with the version it already holds for each. The server replies by streaming the difference.
OnPacket
C++
void OnPacket(const uint8_t* data, size_t len, const FSendFn& sendAck)A packet from the server; acknowledges what it applied.
GetVersion
C++
uint32_t GetVersion(const FSpatialKey& key) constSetKnownVersion
C++
void SetKnownVersion(const FSpatialKey& key, uint32_t version)Forget
C++
void Forget(const FSpatialKey& key)GetEntriesApplied
C++
uint64_t GetEntriesApplied() constGetEntriesIgnored
C++
uint64_t GetEntriesIgnored() constGetMalformedPackets
C++
uint64_t GetMalformedPackets() constGenerated from Networking/Replication/SpatialStream.h via networking.json · Nov 4, 2026Version 1.0.0