vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::NetBudget Struct Reference

How much of the world one snapshot may describe. More...

#include <snapshot.h>

Public Attributes

uint32_t bytes = static_cast<uint32_t>(NetConnection::MAX_PAYLOAD)
 Bytes one snapshot body may occupy.
EntityId owner
 The connection's own entity, which is never the one deferred.

Detailed Description

How much of the world one snapshot may describe.

A ceiling, or a busy frame makes a datagram the socket refuses whole. What does not fit is deferred, its priority rising until it goes.

Member Data Documentation

◆ bytes

uint32_t Vkm::Engine::NetBudget::bytes = static_cast<uint32_t>(NetConnection::MAX_PAYLOAD)

Bytes one snapshot body may occupy.

A session passes what its own header leaves.

◆ owner

EntityId Vkm::Engine::NetBudget::owner

The connection's own entity, which is never the one deferred.

Written first whatever the budget: reconciliation compares against it.


The documentation for this struct was generated from the following file: