DPB2Class · Game state and actions

PerBoundsCachedValue<T>

Provides per bounds 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 PerBoundsCachedValue<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

2 results

PerBoundsCachedValue

MethodLink ↗
public PerBoundsCachedValue<T>.PerBoundsCachedValue(Func<T> producer, Vector2i size)

Creates a new PerBoundsCachedValue instance using the supplied arguments.

producerFunc<T>
Specifies producer.
sizeVector2i
Specifies size.

ShouldUpdateCache

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

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.