DPB2Class · Game state and actions

PerCachedValue<T>

Provides per cached 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 PerCachedValue<T>View DPB1 version →

Members and overloads

5 results

PerCachedValue

MethodLink ↗
protected PerCachedValue<T>.PerCachedValue(Func<T> producer)

Creates a new PerCachedValue instance using the supplied arguments.

producerFunc<T>
Specifies producer.

RequestCacheFlush

MethodLink ↗
public void PerCachedValue<T>.RequestCacheFlush()

Requests cache flush.

ShouldUpdateCache

MethodLink ↗
protected abstract bool PerCachedValue<T>.ShouldUpdateCache(bool force = false)

Executes the should update cache operation with the supplied arguments.

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

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

op_Implicit

MethodLink ↗
public static PerCachedValue<T>.implicit operator T(PerCachedValue<T> pfcv)

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

pfcvPerCachedValue<T>
Specifies pfcv.

Returns: The T result.

Value

PropertyLink ↗
public T PerCachedValue<T>.Value { get; }

Gets value for PerCachedValue.

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