Enum SyncFlags
- Namespace
- LiteEntitySystem
- Assembly
- LiteEntitySystem.dll
Synchronization flags.
[Flags]
public enum SyncFlags : ushort
- Extension Methods
Fields
AlwaysRollback = 16Always rollback value even when entity is not owned useful for enemy health and damage prediction
Interpolated = 1Is value interpolated inside VisualUpdate and in LagCompensation checks best use for Position, Rotation
LagCompensated = 2Is value lag compensated (returned in history) when EnableLagCompensation called for hit checks on server and on client in rollback state
NeverRollBack = 32Never rollback value even when entity is owned
None = 0OnlyForOtherPlayers = 4Value synchronized only for non owners
OnlyForOwner = 8Value synchronized only for owner
SyncGroup1 = 64Toggleable sync group 1. Can include SyncVars and RPCs.
SyncGroup2 = 128Toggleable sync group 2. Can include SyncVars and RPCs.
SyncGroup3 = 256Toggleable sync group 3. Can include SyncVars and RPCs.
SyncGroup4 = 512Toggleable sync group 4. Can include SyncVars and RPCs.
SyncGroup5 = 1024Toggleable sync group 5. Can include SyncVars and RPCs.