Table of Contents

Struct DeltaComponents

Namespace
Coherence.Entities
Assembly
Coherence.Entities.dll
public struct DeltaComponents

Fields

Destroys

public HashSet<uint> Destroys

Field Value

HashSet<uint>

OrderedUpdateTime

public DateTime? OrderedUpdateTime

Field Value

DateTime?

Updates

public ComponentUpdates Updates

Field Value

ComponentUpdates

Properties

Count

public int Count { get; }

Property Value

int

Methods

Clone()

public DeltaComponents Clone()

Returns

DeltaComponents

CloneFrom(DeltaComponents)

public void CloneFrom(DeltaComponents other)

Parameters

other DeltaComponents

Merge(DeltaComponents, IComponentInfo)

public void Merge(DeltaComponents other, IComponentInfo componentInfo)

Parameters

other DeltaComponents
componentInfo IComponentInfo

New(int)

public static DeltaComponents New(int capacity = 0)

Parameters

capacity int

Returns

DeltaComponents

RemoveComponent(uint, IComponentInfo)

public void RemoveComponent(uint comp, IComponentInfo componentInfo)

Parameters

comp uint
componentInfo IComponentInfo

RemoveComponents(IReadOnlyList<uint>, IComponentInfo)

public void RemoveComponents(IReadOnlyList<uint> components, IComponentInfo componentInfo)

Parameters

components IReadOnlyList<uint>
componentInfo IComponentInfo

Reset()

public void Reset()

ToString()

public override string ToString()

Returns

string

UpdateComponent(ComponentChange)

public void UpdateComponent(ComponentChange change)

Parameters

change ComponentChange

UpdateComponents(ComponentUpdates)

public void UpdateComponents(ComponentUpdates componentUpdates)

Parameters

componentUpdates ComponentUpdates