Table of Contents

Enum SyncFlags

Namespace
LiteEntitySystem
Assembly
LiteEntitySystem.dll

Synchronization flags.

[Flags]
public enum SyncFlags : ushort
Extension Methods

Fields

AlwaysRollback = 16

Always rollback value even when entity is not owned useful for enemy health and damage prediction

Interpolated = 1

Is value interpolated inside VisualUpdate and in LagCompensation checks best use for Position, Rotation

LagCompensated = 2

Is value lag compensated (returned in history) when EnableLagCompensation called for hit checks on server and on client in rollback state

NeverRollBack = 32

Never rollback value even when entity is owned

None = 0
OnlyForOtherPlayers = 4

Value synchronized only for non owners

OnlyForOwner = 8

Value synchronized only for owner

SyncGroup1 = 64

Toggleable sync group 1. Can include SyncVars and RPCs.

SyncGroup2 = 128

Toggleable sync group 2. Can include SyncVars and RPCs.

SyncGroup3 = 256

Toggleable sync group 3. Can include SyncVars and RPCs.

SyncGroup4 = 512

Toggleable sync group 4. Can include SyncVars and RPCs.

SyncGroup5 = 1024

Toggleable sync group 5. Can include SyncVars and RPCs.