Show / Hide Table of Contents

Enum SyncFlags

Synchronization flags.

Namespace: LiteEntitySystem
Assembly: LiteEntitySystem.dll
Syntax
[Flags]
public enum SyncFlags : ushort

Fields

Name Description
AlwaysRollback

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

Interpolated

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

LagCompensated

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

NeverRollBack

Never rollback value even when entity is owned

None
OnlyForOtherPlayers

Value synchronized only for non owners

OnlyForOwner

Value synchronized only for owner

SyncGroup1

Toggleable sync group 1. Can include SyncVars and RPCs.

SyncGroup2

Toggleable sync group 2. Can include SyncVars and RPCs.

SyncGroup3

Toggleable sync group 3. Can include SyncVars and RPCs.

SyncGroup4

Toggleable sync group 4. Can include SyncVars and RPCs.

SyncGroup5

Toggleable sync group 5. Can include SyncVars and RPCs.

Extension Methods

Utils.GetEnumValueInt<SyncFlags>(SyncFlags)
Utils.GetEnumValue<SyncFlags>(SyncFlags)
Utils.HasFlagFast<SyncFlags>(SyncFlags, SyncFlags)
In this article
Back to top Generated by DocFX