Skip to main content

IEntityUpdateInfo<TEntity>

Namespace: Meshmakers.Octo.Runtime.Contracts

Interface for an entity update info.

public interface IEntityUpdateInfo<TEntity>

Type Parameters

TEntity

Properties

RtEntity

Entity for modification.

public abstract TEntity RtEntity { get; }

Property Value

TEntity

RtId

Runtime Identifier of an existing entity.

public abstract Nullable<OctoObjectId> RtId { get; }

Property Value

Nullable<OctoObjectId>

CkTypeId

Construction Kit Type Identifier of entity to be modified.

public abstract RtCkId<CkTypeId> CkTypeId { get; }

Property Value

RtCkId<CkTypeId>

ModOption

MOD option.

public abstract EntityModOptions ModOption { get; }

Property Value

EntityModOptions

UpdateGuard

Optional optimistic-concurrency guard applied to EntityModOptions.Update operations. When set, the write is skipped if the guard does not match — see AttributeNewerThanGuard. Ignored for non-update mod options.

public abstract AttributeNewerThanGuard UpdateGuard { get; }

Property Value

AttributeNewerThanGuard

Methods

GetRtEntityId()

Gets the runtime entity identifier.

RtEntityId GetRtEntityId()

Returns

RtEntityId