public PerFramesCachedValue<T>.PerFramesCachedValue(Func<T> producer, int duration)
Creates a new PerFramesCachedValue instance using the supplied arguments.
producerFunc<T>- Specifies producer.
durationint- Specifies duration.
Provides per frames 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 PerFramesCachedValue<T>View DPB1 version →Members declared by a base type are documented on that type. Follow these links to include them in your lookup.
public PerFramesCachedValue<T>.PerFramesCachedValue(Func<T> producer, int duration)
Creates a new PerFramesCachedValue instance using the supplied arguments.
producerFunc<T>durationintprotected override bool PerFramesCachedValue<T>.ShouldUpdateCache(bool force = false)
Executes the should update cache operation with the supplied arguments.
forceboolReturns: 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.