DPB2Class · Game state and actions

LokiPoe

Start here to check the client state, access the local player and identify the current area. Read in-game data only after checking IsInGame.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoe
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
Show all members

MatchesSocketColors

MethodLink ↗
public static bool LokiPoe.MatchesSocketColors(string filterFormat, SocketColor[] itemSocketColors, byte[] itemSocketLinks)

Return a bool representing if a conbination of SocketColors and SoocketLinks array, contain a specific sockets patterns.

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

Parameters

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

A specific socket pattern that we are looking for: "R-G-B", "G-G R-B"

itemSocketColors
Parameter type: SocketColor[]

An array of SocketColor representing the colors in the item.

itemSocketLinks
Parameter type: byte[]No current DPB page is linked for this built-in, external, generic or compatibility-only type.

An array of byte representing the Links in the item.

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

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

Guides using this class

These guides refer to LokiPoe as a whole and may use other members. They are not dedicated examples of the selected member.

See how these APIs fit together. Labs include complete source; the FollowBot walkthrough teaches you to build your own bot from selected fragments and checkpoints.

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.