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>
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

1 declared here

Search includes inherited members below. 3 matching inherited members →

Show all members

PerBoundsCachedValue

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

Creates a new PerBoundsCachedValue 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.

size

Specifies size.

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.

No dedicated example has been reviewed for this member. Browse the class reference; its examples may demonstrate other operations.

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.