SoloSim struct
TNetMode policy tag for LogicThread — controls input injection and replication dispatch.
| Policy | Role | Header |
|---|---|---|
SoloSim | Offline, no net | *(defined here)* |
AuthoritySim | Authority-side (server/Host) | AuthoritySim.h |
OwnerSim | Owner-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. |