DPB1Class · Game state and actions

PerFrameCachedValue<T>

Provides per frame 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 PerFrameCachedValue<T>View DPB2 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

2 results

PerFrameCachedValue

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

Creates a new PerFrameCachedValue instance using the supplied arguments.

producerFunc<T>
Specifies producer.

ShouldUpdateCache

MethodLink ↗
protected override bool PerFrameCachedValue<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.

DPB1 0.3.29.47 · 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.