DPB2Class · Game state and actions

PerAreaCachedValue<T>

Provides per area 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 PerAreaCachedValue<T>View DPB1 version →

Inherited APIs and contracts

Members declared by a base type are documented on that type. Follow these links to include them in your lookup.

Members and overloads

3 results

PerAreaCachedValue

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

Creates a new PerAreaCachedValue instance using the supplied arguments.

producerFunc<T>
Specifies producer.

PerAreaCachedValue

MethodLink ↗
public PerAreaCachedValue<T>.PerAreaCachedValue(Func<T> producer, string name)

Creates a new PerAreaCachedValue instance using the supplied arguments.

producerFunc<T>
Specifies producer.
namestring
Specifies name.

ShouldUpdateCache

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

Executes the should update cache operation with the supplied arguments.

forcebool
Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

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

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.