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 float Actor.ManaPercent { get; } Declared by Actor

Return the Actual pct of mana available, accounting for all the reserved mana (fixed and pct). (please note, if you have 50% of mana ManaReservedPercent, and a total of 1000 mana, this will return 100.0 when you are full mana, and decrease as you cast more spells.)

public float Actor.ManaPercentTotal { get; } Declared by Actor

Return the actual pct of mana available (please note, if you have 50% of mana ManaReservedPercent, and a total of 1000 mana, this will return 500 when you are full mana, and decrease as you cast more spells.)

public int Actor.ManaReserved { get; } Declared by Actor

This Return the total ammount of mana Reserved by spells that reserve a fixed account of mana, es. Clarity.

public float Actor.ManaReservedPercent { get; } Declared by Actor

This return the total pct of mana reserved by spells that reserve a percent of mana, es, Puroty of Elements.

public int Actor.MaxHealth { get; } Declared by Actor

Reads max health on Actor as int. The exact type and accessors are shown below.

public int Actor.MaxMana { get; } Declared by Actor

Reads max mana on Actor as int. The exact type and accessors are shown below.

public int Actor.MaxTotemCount { get; } Declared by Actor

Reads max totem count on Actor as int. The exact type and accessors are shown below.

public string NetworkObject.Metadata { get; } Declared by NetworkObject

Reads metadata on NetworkObject as string. The exact type and accessors are shown below.

public Dictionary<StatTypeGGG, int> Actor.ModStats { get; } Declared by Actor

Gets the mod stats collection. Its element types are linked below.

public List<string> Actor.ModStatsList { get; } Declared by Actor

Gets the mod stats list collection. Its element types are linked below.

public virtual string NetworkObject.Name { get; } Declared by NetworkObject

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

public NetworkObject.NetworkObject(Entity player) Declared by NetworkObject

Creates a new NetworkObject instance using the supplied arguments.

public NetworkObject.NetworkObject(EntityWrapper entity) Declared by NetworkObject

Creates a new NetworkObject instance using the supplied arguments.

public static bool NetworkObject.operator ==(NetworkObject left, NetworkObject right) Declared by NetworkObject

Applies the equality operation to the supplied values.

public static NetworkObject.implicit operator EntityWrapper(NetworkObject @object) Declared by NetworkObject

Converts this value to the return type shown in the signature.

public static bool NetworkObject.operator !=(NetworkObject left, NetworkObject right) Declared by NetworkObject

Applies the inequality operation to the supplied values.

public Vector2i NetworkObject.Position { get; } Declared by NetworkObject

Reads position on NetworkObject as Vector2i. Open the value type below for its members and accepted values.

public Aura Actor.PowerChargeAura { get; } Declared by Actor

Reads power charge aura on Actor as Aura. Open the value type below for its members and accepted values.

public int Actor.PowerCharges { get; } Declared by Actor

Reads power charges on Actor as int. The exact type and accessors are shown below.

public Reaction NetworkObject.Reaction { get; } Declared by NetworkObject

Reads reaction on NetworkObject as Reaction. Open the value type below for its members and accepted values.

public int Actor.ReaveCharges { get; } Declared by Actor

Reads reave charges on Actor as int. The exact type and accessors are shown below.

public string Actor.RightHandWeaponVisual { get; } Declared by Actor

Reads right hand weapon visual on Actor as string. The exact type and accessors are shown below.

public string Actor.RightRingVisual { get; } Declared by Actor

Reads right ring visual on Actor as string. The exact type and accessors are shown below.

public Dictionary<StatTypeGGG, int> Actor.Stats { get; } Declared by Actor

Gets the stats collection. Its element types are linked below.

public float Actor.TimeSinceLastAction { get; } Declared by Actor

Reads time since last action on Actor as float. The exact type and accessors are shown below.

public float Actor.TimeSinceLastMove { get; } Declared by Actor

Reads time since last move on Actor as float. The exact type and accessors are shown below.

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

Reads torment is possessed on Actor as bool. The exact type and accessors are shown below.

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

Reads torment is touched on Actor as bool. The exact type and accessors are shown below.

public string NetworkObject.Type { get; } Declared by NetworkObject

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

public Element NetworkObject.Ui { get; } Declared by NetworkObject

Reads the ground-label UI element associated with this object's ID. Returns null when no matching label is available. This is a label element, not a complete control panel for the object; follow Element to inspect its text, visibility and children.

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.