DPB2Class · Game state and actions

PerFunctionChachValue<T, TKey>

Provides per function chach 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 PerFunctionChachValue<T, TKey>
Reference: DPB2 0.4.5.103No matching type in the reviewed DPB1 catalog.

Members and overloads

1 declared here

Search includes inherited members below. 3 matching inherited members →

Show all members

PerFunctionChachValue

MethodLink ↗
public PerFunctionChachValue<T, TKey>.PerFunctionChachValue(Func<T> producer, Func<TKey> keyFunc)

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

keyFunc
Parameter type: Func<TKey>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies key func.

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.