DPB2Class · World, character and items

Player

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

Namespace: DreamPoeBot.Loki.Game.Objects

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

10 declared here

Search includes inherited members below. 247 matching inherited members →

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.

AscendencyClass

PropertyLink ↗
public AscendancyClass Player.AscendencyClass { get; }

Reads ascendency class on Player as AscendancyClass. Open the value type below for its members and accepted values.

Value type: AscendancyClass
Explore AscendancyClass → members & methods

Named values for ascendancy class. Select a value when an API accepts or returns AscendancyClass.

Class

PropertyLink ↗
public CharacterClass Player.Class { get; }

Reads class on Player as CharacterClass. Open the value type below for its members and accepted values.

Value type: CharacterClass
Explore CharacterClass → members & methods

Named values for character class. Select a value when an API accepts or returns CharacterClass.

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.

ExperienceGainedThisLevel

PropertyLink ↗
public uint Player.ExperienceGainedThisLevel { get; }

Reads experience gained this level 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.

ExperienceLastLevel

PropertyLink ↗
public uint Player.ExperienceLastLevel { get; }

Reads experience last level 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.

ExperienceLeftThisLevel

PropertyLink ↗
public uint Player.ExperienceLeftThisLevel { get; }

Reads experience left this level 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.

ExperienceNextLevel

PropertyLink ↗
public uint Player.ExperienceNextLevel { get; }

Reads experience next level 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.

ExperiencePercent

PropertyLink ↗
public float Player.ExperiencePercent { get; }

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

Value type: floatNo 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.

Inherited members and contracts

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

public bool Actor.IsCursingWithElementalWeakness { get; } Declared by Actor

Whether this actor is cursing with elemental weakness.

public bool Actor.IsCursingWithEnfeeble { get; } Declared by Actor

Whether this actor is cursing with enfeeble.

public bool Actor.IsCursingWithFlammability { get; } Declared by Actor

Whether this actor is cursing with flammability.

public bool Actor.IsCursingWithFrostbite { get; } Declared by Actor

Whether this actor is cursing with frostbite.

public bool Actor.IsCursingWithNewPunishment { get; } Declared by Actor

Whether this actor is cursing with new punishment.

public bool Actor.IsCursingWithPoachersMark { get; } Declared by Actor

Whether this actor is cursing with poachers mark.

public bool Actor.IsCursingWithProjectileWeakness { get; } Declared by Actor

Whether this actor is cursing with projectile weakness.

public bool Actor.IsCursingWithPunishment { get; } Declared by Actor

Whether this actor is cursing with punishment.

public bool Actor.IsCursingWithTemporalChains { get; } Declared by Actor

Whether this actor is cursing with temporal chains.

public bool Actor.IsCursingWithVulnerability { get; } Declared by Actor

Whether this actor is cursing with vulnerability.

public bool Actor.IsCursingWithWarlordsMark { get; } Declared by Actor

Whether this actor is cursing with warlords mark.

public bool Actor.IsDead { get; } Declared by Actor

Whether this actor is dead.

public bool NetworkObject.IsDoor { get; } Declared by NetworkObject

Whether this network object is door.

public bool NetworkObject.IsEffigyOfTheKing { get; } Declared by NetworkObject

Whether this network object is effigy of the king.

public bool NetworkObject.IsExpeditionRemnant { get; } Declared by NetworkObject

Whether this network object is expedition remnant.

public bool NetworkObject.IsFriendly { get; } Declared by NetworkObject

Whether this network object is friendly.

public bool Actor.IsFrozen { get; } Declared by Actor

Whether this actor is frozen.

public bool NetworkObject.IsGrottoMirror { get; } Declared by NetworkObject

Whether this network object is grotto mirror.

public bool Actor.IsHarbingerMinion { get; } Declared by Actor

Whether this actor is harbinger minion.

public bool NetworkObject.IsHighlightable { get; } Declared by NetworkObject

Whether this network object is highlightable.

public bool NetworkObject.IsHostile { get; } Declared by NetworkObject

Whether this network object is hostile.

public bool Actor.IsIgnited { get; } Declared by Actor

Whether this actor is ignited.

public bool NetworkObject.IsIgnoreHidden { get; } Declared by NetworkObject

Whether this network object is ignore hidden.

public bool NetworkObject.IsLegionInitiator { get; } Declared by NetworkObject

Whether this network object is legion initiator.

public bool NetworkObject.IsMinimapLabelVisible { get; } Declared by NetworkObject

Whether this network object is minimap label visible.

public bool Actor.IsMissionAreaSpawn { get; } Declared by Actor

Whether this actor is mission area spawn.

public bool Actor.IsMissionMob { get; } Declared by Actor

Whether this actor is mission mob.

public bool Actor.IsMoving { get; } Declared by Actor

Whether this actor is moving.

public bool NetworkObject.IsNecropolisCorpse { get; } Declared by NetworkObject

Whether this network object is necropolis corpse.

public bool NetworkObject.IsPrecursorReactor { get; } Declared by NetworkObject

Whether this network object is precursor reactor.

Guides using this class

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.