Table of Contents

TObjectManager.IsCached<E> Method

Overloads

TObjectManager.IsCached<E>(Variant)

Returns True if an entity of type E with the given identifier is currently loaded in the manager's cache.

Syntax

Unit: Aurelius.Engine.ObjectManager

function TObjectManager.IsCached(const IdValue: Variant): Boolean; overload;

Parameters

<-> Parameter Type Description
const IdValue Variant The identifier value to check.

Returns

True if the entity is cached; False otherwise.

Type Parameters

Type Parameter Description
E The entity class type.

See also

TObjectManager.IsCached(TClass, Variant)

Returns True if an entity of the specified class with the given identifier is currently loaded in the manager's cache.

Syntax

Unit: Aurelius.Engine.ObjectManager

function TObjectManager.IsCached(Clazz: TClass; const IdValue: Variant): Boolean; overload;

Parameters

<-> Parameter Type Description
Clazz TClass The runtime class of the entity.
const IdValue Variant The identifier value to check.

Returns

True if the entity is cached; False otherwise.

See also