Struct OutgoingEntityUpdate
public struct OutgoingEntityUpdate
Fields
Components
public DeltaComponents Components
Field Value
Operation
public EntityOperation Operation
Field Value
Priority
public long Priority
Field Value
Properties
HasExistenceOperation
public bool HasExistenceOperation { get; }
Property Value
IsCreate
public bool IsCreate { get; }
Property Value
IsDestroy
public bool IsDestroy { get; }
Property Value
IsUpdate
public bool IsUpdate { get; }
Property Value
Methods
Add(OutgoingEntityUpdate, IComponentInfo)
Add updated components to own collection. If an update exists in both, the update will overwrite the owned changes. If current or newer entity update is a Destroy operator, return a Destroy.
public void Add(OutgoingEntityUpdate update, IComponentInfo componentInfo)
Parameters
update
OutgoingEntityUpdateA newer entity update
componentInfo
IComponentInfo
Clone()
public OutgoingEntityUpdate Clone()
Returns
HasUnAckedOrderedComponents()
public bool HasUnAckedOrderedComponents()
Returns
New()
public static OutgoingEntityUpdate New()
Returns
Return()
public void Return()
Subtract(OutgoingEntityUpdate)
Remove all own updated fields that are present in update This since we don't need to resend fields that have been changed afterwards. If current or newer entity update is a Destroy operator, return a Destroy.
public void Subtract(OutgoingEntityUpdate update)
Parameters
update
OutgoingEntityUpdateA newer entity update
ToString()
public string ToString()