DPB2Class · Bots, plugins and tasks

Targeting

Provides targeting data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Bot

public class Targeting
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

8 declared here

InclusionCalcuation

EventLink ↗
public Targeting.InclusionCalculator Targeting.InclusionCalcuation

Raised for inclusion calcuation. Subscribe with the callback type shown in the signature.

Event handler type: publicNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

WeightCalculation

EventLink ↗
public Targeting.WeightCalcuator Targeting.WeightCalculation

Raised for weight calculation. Subscribe with the callback type shown in the signature.

Event handler type: publicNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Targeting

MethodLink ↗
public Targeting.Targeting()

Creates a new Targeting instance.

ResetInclusionCalcuation

MethodLink ↗
public void Targeting.ResetInclusionCalcuation()

Resets inclusion calcuation.

Return type: voidNo return value.

ResetWeightCalculation

MethodLink ↗
public void Targeting.ResetWeightCalculation()

Resets weight calculation.

Return type: voidNo return value.

Targets

MethodLink ↗
public IEnumerable<NetworkObject> Targeting.Targets()

Calls Targets on Targeting without arguments and returns IEnumerable<NetworkObject>. Open the return contract below before using the result.

Return type: IEnumerable<NetworkObject>
Explore NetworkObject → members & methods

Common view of an object in the current area, including its identity, position and interaction state.

Returns: The IEnumerable<NetworkObject> result.

Targets

MethodLink ↗
public IEnumerable<T> Targeting.Targets<T>() where T : class

Calls Targets on Targeting without arguments and returns IEnumerable<T>. Open the return contract below before using the result.

Return type: IEnumerable<T>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Returns: The IEnumerable<T> result.

Update

MethodLink ↗
public void Targeting.Update()

Calls Update on Targeting without arguments. This overload has no return value.

Return type: voidNo return value.

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.