DPB1Class · World, character and items

ItemMod

Represents item mod in the current game state. Obtain the object from its owning API and refresh it after an area change.

Namespace: DreamPoeBot.Loki.RemoteMemoryObjects

public class ItemMod
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

1 declared here
Show all members

TryGetValue

MethodLink ↗
public bool ItemMod.TryGetValue(int index, out int value)

Calls TryGetValue on ItemMod with index, value and returns bool. Open the return contract below before using the result.

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

Parameters

index
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies index.

value
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Receives value.

Returns: True when the request succeeds; read any out parameters only after checking the result.

Added in public DPB1 0.3.29.54. Indexes are zero-based (0 through 3). True with value zero is a successfully read zero; false with zero means an absent, invalid or unreadable slot. Reacquire the item after a wait or area change; successive reads are not an atomic snapshot.

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

DPB1 0.3.29.56 · 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.