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

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

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

Reads energy shield percent on Actor as float. The exact type and accessors are shown below.

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

Reads energy shield percent total on Actor as float. The exact type and accessors are shown below.

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

Reads energy shield reserved on Actor as int. The exact type and accessors are shown below.

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

Reads energy shield reserved percent on Actor as float. The exact type and accessors are shown below.

public EntityWrapper NetworkObject.Entity { get; } Declared by NetworkObject

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

public bool NetworkObject.Equals(NetworkObject other) Declared by NetworkObject

Checks whether this value equals the supplied value.

public override bool NetworkObject.Equals(object obj) Declared by NetworkObject

Checks whether this value equals the supplied value.

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

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

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

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

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

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

public Aura Actor.GetBuff(BuffDefinitionsEnum @enum) Declared by Actor

Calls GetBuff on Actor with enum and returns Aura. Open the return contract below before using the result.

public IEnumerable<Aura> Actor.GetBuffs(BuffDefinitionsEnum @enum) Declared by Actor

Calls GetBuffs on Actor with enum and returns IEnumerable<Aura>. Open the return contract below before using the result.

public override int NetworkObject.GetHashCode() Declared by NetworkObject

Returns a hash code for comparing or indexing this value.

public Skill Actor.GetSkill(ActiveSkillsEnum @enum) Declared by Actor

Calls GetSkill on Actor with enum and returns Skill. Open the return contract below before using the result.

public Skill Actor.GetSkillById(uint id) Declared by Actor

Calls GetSkillById on Actor with id and returns Skill. Open the return contract below before using the result.

public Skill Actor.GetSkillByName(string name) Declared by Actor

Calls GetSkillByName on Actor with name and returns Skill. Open the return contract below before using the result.

public IEnumerable<Skill> Actor.GetSkills(ActiveSkillsEnum @enum) Declared by Actor

Calls GetSkills on Actor with enum and returns IEnumerable<Skill>. Open the return contract below before using the result.

public IEnumerable<Skill> Actor.GetSkillsByName(string name) Declared by Actor

Calls GetSkillsByName on Actor with name and returns IEnumerable<Skill>. Open the return contract below before using the result.

public int Actor.GetStat(StatTypeGGG stat) Declared by Actor

Calls GetStat on Actor with stat and returns int. Open the return contract below before using the result.

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

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

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

Whether arctic armour buff is present.

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

Whether aspect bird buff is present.

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

Whether aspect cat buff is present.

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

Whether aspect crab buff is present.

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

Whether aspect spider buff is present.

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

Whether atziris promise is present.

public bool Actor.HasAura(IEnumerable<string> names) Declared by Actor

Checks for aura using the supplied arguments.

public bool Actor.HasAura(string name) Declared by Actor

Checks for aura using the supplied arguments.

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

Whether blood of the karui is present.

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.