DPB2Class · Game state and actions

SlowCacheValue<T>

Provides slow cache value data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Game.Utilities

public class SlowCacheValue<T>
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

2 declared here

Search includes inherited members below. 3 matching inherited members →

SlowCacheValue

MethodLink ↗
public SlowCacheValue<T>.SlowCacheValue(Func<T> producer)

Creates a new SlowCacheValue instance using the supplied arguments.

Parameters

producer
Parameter type: Func<T>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies producer.

ShouldUpdateCache

MethodLink ↗
protected override bool SlowCacheValue<T>.ShouldUpdateCache(bool force = false)

Calls ShouldUpdateCache on SlowCacheValue<T> with force and returns bool. Open the return contract below before using the result.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

force
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies force. Optional; the default is shown in the signature.

Returns: A Boolean result. The member description explains the condition being checked.

Inherited members and contracts

3 public members from documented base types and interfaces. Links open the original declaration; overrides are shown only once. Search using the member field above.

public static PerCachedValue<T>.implicit operator T(PerCachedValue<T> pfcv) Declared by PerCachedValue<T>

Converts this value to the return type shown in the signature.

public void PerCachedValue<T>.RequestCacheFlush() Declared by PerCachedValue<T>

Requests cache flush.

public T PerCachedValue<T>.Value { get; } Declared by PerCachedValue<T>

Reads value on PerCachedValue<T> as T. The exact type and accessors are shown below.

DPB2 0.4.5.103 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.