Skip to main content
Version: 0.2.0

Interface ISynchronizationApi

Namespace: ReadyM.Sdk.Common.Entities
Assembly: ReadyM.Sdk.Common.dll

Networked entity synchronization API. Provides access to the synchronized state of the game world.

public interface ISynchronizationApi<T> : ISynchronizationApi where T : struct

Type Parameters​

T

Implements​

ISynchronizationApi

Extension Methods​

SynchronizationApiExtensions.RequireLocalPlayer<T>(ISynchronizationApi<T>), SynchronizationApiExtensions.TryGetLocalPlayer<T>(ISynchronizationApi<T>, out T)

Properties​

AllPlayers​

IEnumerable<T> AllPlayers { get; }

Property Value​

IEnumerable<T>

LocalPlayer​

T? LocalPlayer { get; }

Property Value​

T?

Methods​

RequireLocalPlayer()​

T RequireLocalPlayer()

Returns​

T