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>

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

PerFunctionChachValue

MethodLink โ†—
public PerFunctionChachValue<T, TKey>.PerFunctionChachValue(Func<T> producer, Func<TKey> keyFunc)

Creates a new PerFunctionChachValue instance using the supplied arguments.

producerFunc<T>
Specifies producer.
keyFuncFunc<TKey>
Specifies key func.

ShouldUpdateCache

MethodLink โ†—
protected override bool PerFunctionChachValue<T, TKey>.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.