Navigation
API > API/Plugins > API/Plugins/NetworkPrediction > API/Plugins/NetworkPrediction/Services
References
Module | NetworkPrediction |
Header | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/Services/NetworkPredictionInstanceData.h |
Include | #include "Services/NetworkPredictionInstanceData.h" |
Syntax
enum ENetworkPredictionService
&123;
None = 0,
ServerRPC = 1 << 0,
MAX_COMMON = ServerRPC,
FixedRollback = 1 << 1,
FixedExtrapolate = 1 << 2,
FixedInterpolate = 1 << 3,
FixedInputLocal = 1 << 4,
FixedInputRemote = 1 << 5,
FixedTick = 1 << 6,
FixedSmoothing = 1 << 7,
FixedFinalize = 1 << 8,
FixedPhysics = 1 << 9,
MAX_FIXED = FixedPhysics,
IndependentRollback = 1 << 10,
IndependentExtrapolate = 1 << 11,
IndependentInterpolate = 1 << 12,
IndependentLocalInput = 1 << 13,
IndependentLocalTick = 1 << 14,
IndependentRemoteTick = 1 << 15,
IndependentSmoothingFinalize = 1 << 16,
IndependentLocalFinalize = 1 << 17,
IndependentRemoteFinalize = 1 << 18,
MAX_INDEPENDENT = IndependentRemoteFinalize,
ANY_COMMON = (MAX_COMMON<<1)-1,
ANY_FIXED = ((MAX_FIXED<<1)-1) & ~ANY_COMMON,
ANY_INDEPENDENT = (((MAX_INDEPENDENT<<1)-1) & ~ANY_FIXED) & ~ANY_COMMON,
&125;
Values
Name | Description |
---|---|
None | |
ServerRPC | Common services that fix/independent can share. |
MAX_COMMON | |
FixedRollback | Services exclusive to fix tick mode. |
FixedExtrapolate | |
FixedInterpolate | |
FixedInputLocal | |
FixedInputRemote | |
FixedTick | |
FixedSmoothing | |
FixedFinalize | |
FixedPhysics | |
MAX_FIXED | |
IndependentRollback | Services exclusive to independent tick mode. |
IndependentExtrapolate | |
IndependentInterpolate | |
IndependentLocalInput | |
IndependentLocalTick | |
IndependentRemoteTick | |
IndependentSmoothingFinalize | |
IndependentLocalFinalize | |
IndependentRemoteFinalize | |
MAX_INDEPENDENT | |
ANY_COMMON | Helper masks. |
ANY_FIXED | |
ANY_INDEPENDENT |
Remarks
Enum that maps to internal NetworkPrediction services, see notes in NetworkPredictionServiceRegistry.h.