SoloSim struct

TNetMode policy tag for LogicThread — controls input injection and replication dispatch.

PolicyRoleHeader
SoloSimOffline, no net*(defined here)*
AuthoritySimAuthority-side (server/Host)AuthoritySim.h
OwnerSimOwner-side (client)OwnerSim.h

Each policy must expose:

template <typename TLogic> bool OnSimInput(uint32_t frame, TLogic& logic);
template <typename TLogic> void OnFramePublished(uint32_t frame, TLogic& logic);

Offline net policy — both hooks are no-ops, zero overhead.

Public functions

template<typename TLogic>
auto OnSimInput(uint32_t, TLogic&) -> bool
No-op; solo play has no remote input to inject.
template<typename TLogic>
void OnFramePublished(uint32_t, TLogic&)
No-op; solo play has no peers to replicate to.

Function documentation

template<typename TLogic>
bool SoloSim::OnSimInput(uint32_t, TLogic&)

No-op; solo play has no remote input to inject.

Template parameters
TLogic Concrete LogicThread specialization.
Returns Always false — no corrections pending.

template<typename TLogic>
void SoloSim::OnFramePublished(uint32_t, TLogic&)

No-op; solo play has no peers to replicate to.

Template parameters
TLogic Concrete LogicThread specialization.