DPB2Delegate · Game state and actions

ShouldViewItemDelegate

Callback contract for should view item delegate. The Invoke signature below shows the arguments supplied to the callback.

Namespace: DreamPoeBot.Loki.Game

public delegate ShouldViewItemDelegate
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

Invoke

MethodLink ↗
public virtual bool ShouldViewItemDelegate.Invoke(Inventory inventory, Item item)

Calls the callback with the supplied arguments.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

inventory

Specifies inventory.

item

Specifies item.

Returns: A Boolean result. The member description explains the condition being checked.

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.