Table of Contents

Class SyncChilds

Namespace
LiteEntitySystem
Assembly
LiteEntitySystem.dll
public sealed class SyncChilds : SyncableFieldCustomRollback, IEnumerable<EntitySharedReference>, IEnumerable
Inheritance
object
SyncChilds
Implements

Properties

Count

public int Count { get; }

Property Value

int

Methods

AfterReadRPC()

protected override void AfterReadRPC()

BeforeReadRPC()

protected override void BeforeReadRPC()

Contains(EntitySharedReference)

public bool Contains(EntitySharedReference x)

Parameters

x EntitySharedReference

Returns

bool

GetEnumerator()

public HashSet<EntitySharedReference>.Enumerator GetEnumerator()

Returns

HashSet<EntitySharedReference>.Enumerator

OnRollback()

protected override void OnRollback()

OnSyncRequested()

Method for executing RPCs containing initial sync data that need to be sent after entity creation to existing players or when new player connected

protected override void OnSyncRequested()

RegisterRPC(ref SyncableRPCRegistrator)

protected override void RegisterRPC(ref SyncableRPCRegistrator r)

Parameters

r SyncableRPCRegistrator

ToArray()

To array

public EntitySharedReference[] ToArray()

Returns

EntitySharedReference[]

hashset copied array. Returns null if HashSet is empty