DPB2Class · World, character and items

Player

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

Namespace: DreamPoeBot.Loki.Components

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

Use this API

Useful members available through base types — open a member to read its exact contract:

Members and overloads

9 declared here

Search includes inherited members below. 1 matching inherited member →

Player

MethodLink ↗
public Player.Player()

Creates a new Player instance.

ToString

MethodLink ↗
public override string Player.ToString()

Returns a text representation of this value.

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

Returns: The string result.

AllocatedLootId

PropertyLink ↗
public uint Player.AllocatedLootId { get; }

Reads allocated loot id on Player as uint. The exact type and accessors are shown below.

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

Dexterity

PropertyLink ↗
public int Player.Dexterity { get; }

Reads dexterity on Player as int. The exact type and accessors are shown below.

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

Experience

PropertyLink ↗
public uint Player.Experience { get; }

Reads experience on Player as uint. The exact type and accessors are shown below.

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

Intelligence

PropertyLink ↗
public int Player.Intelligence { get; }

Reads intelligence on Player as int. The exact type and accessors are shown below.

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

Level

PropertyLink ↗
public int Player.Level { get; }

Reads level on Player as int. The exact type and accessors are shown below.

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

Name

PropertyLink ↗
public string Player.Name { get; }

Reads name on Player as string. The exact type and accessors are shown below.

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

Strength

PropertyLink ↗
public int Player.Strength { get; }

Reads strength on Player as int. The exact type and accessors are shown below.

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

Inherited members and contracts

1 public member from documented base types and interfaces. Links open the original declaration; overrides are shown only once. Search using the member field above.

public override bool Component.IsValid { get; } Declared by Component

Whether this component is valid.

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.