DPB2Class · World, character and items

LocalPlayer

The player controlled by the current client. Obtain it through LokiPoe.Me after checking that the client is in game.

Namespace: DreamPoeBot.Loki.Game.Objects

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

30 declared here

Search includes inherited members below. 256 matching inherited members →

FromActionKey

MethodLink ↗
public Skill LocalPlayer.FromActionKey(ActionKeys key)

Calls FromActionKey on LocalPlayer with key and returns Skill. Open the return contract below before using the result.

Return type: Skill
Explore Skill → members & methods

Inspect an available skill, its readiness and related properties. Check the appropriate skill-bar action before attempting to use it.

Parameters

key

Specifies key.

Returns: The Skill result.

FromKey

MethodLink ↗
public Skill LocalPlayer.FromKey(Keys key)

Calls FromKey on LocalPlayer with key and returns Skill. Open the return contract below before using the result.

Return type: Skill
Explore Skill → members & methods

Inspect an available skill, its readiness and related properties. Check the appropriate skill-bar action before attempting to use it.

Parameters

key
Parameter type: KeysNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies key.

Returns: The Skill result.

FromKeyCombo

MethodLink ↗
public Skill LocalPlayer.FromKeyCombo(LokiPoe.Input.KeysCombo key)

Calls FromKeyCombo on LocalPlayer with key and returns Skill. Open the return contract below before using the result.

Return type: Skill
Explore Skill → members & methods

Inspect an available skill, its readiness and related properties. Check the appropriate skill-bar action before attempting to use it.

Parameters

key
Parameter type: KeysComboNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies key.

Returns: The Skill result.

GetKeyComboForSkill

MethodLink ↗
public LokiPoe.Input.KeysCombo LocalPlayer.GetKeyComboForSkill(Skill skill)

Calls GetKeyComboForSkill on LocalPlayer with skill and returns LokiPoe.Input.KeysCombo. Open the return contract below before using the result.

Return type: LokiPoe.Input.KeysCombo
Explore LokiPoe.Input.KeysCombo → members & methods

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

Parameters

skill

Specifies skill.

Returns: The KeysCombo result.

GetKeyForSkill

MethodLink ↗
public Keys LocalPlayer.GetKeyForSkill(Skill skill)

Calls GetKeyForSkill on LocalPlayer with skill and returns Keys. Open the return contract below before using the result.

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

Parameters

skill

Specifies skill.

Returns: The Keys result.

GetKeysComboForSkill

MethodLink ↗
public IEnumerable<LokiPoe.Input.KeysCombo> LocalPlayer.GetKeysComboForSkill(Skill skill)

Calls GetKeysComboForSkill on LocalPlayer with skill and returns IEnumerable<LokiPoe.Input.KeysCombo>. Open the return contract below before using the result.

Return type: IEnumerable<LokiPoe.Input.KeysCombo>
Explore LokiPoe.Input.KeysCombo → members & methods

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

Parameters

skill

Specifies skill.

Returns: The IEnumerable<KeysCombo> result.

GetKeysForSkill

MethodLink ↗
public IEnumerable<Keys> LocalPlayer.GetKeysForSkill(Skill skill)

Calls GetKeysForSkill on LocalPlayer with skill and returns IEnumerable<Keys>. Open the return contract below before using the result.

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

Parameters

skill

Specifies skill.

Returns: The IEnumerable<Keys> result.

GetSpirit

MethodLink ↗
public SpiritData LocalPlayer.GetSpirit(int weaponSet)

Spirit budget for a one-based weapon set (1..3), independent of the selected set. A zero total does not indicate whether that set is unlocked. Invalid reads throw.

Return type: SpiritData
Explore SpiritData → members & methods

A read-only snapshot of the player's Spirit budget for one weapon set.

Parameters

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

Specifies weapon set.

Returns: The SpiritData result.

HasPassive

MethodLink ↗
public bool LocalPlayer.HasPassive(string value)

Checks for passive using the supplied arguments.

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

Parameters

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

Specifies value.

Returns: A Boolean result. The member description explains the condition being checked.

HasSkillOnBarByName

MethodLink ↗
public bool LocalPlayer.HasSkillOnBarByName(string name)

Checks for skill on bar by name using the supplied arguments.

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

Parameters

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

Specifies name.

Returns: A Boolean result. The member description explains the condition being checked.

ToString

MethodLink ↗
public override string LocalPlayer.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.

AscendencySkillPointsAvailable

PropertyLink ↗
public uint LocalPlayer.AscendencySkillPointsAvailable { get; }

Reads ascendency skill points available on LocalPlayer 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.

BestiaryNetVariation

PropertyLink ↗
public int LocalPlayer.BestiaryNetVariation { get; }

Reads bestiary net variation on LocalPlayer 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.

IsInCorruptedArea

PropertyLink ↗
public bool LocalPlayer.IsInCorruptedArea { get; }

Whether this local player is in corrupted area.

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

IsInHideout

PropertyLink ↗
public bool LocalPlayer.IsInHideout { get; }

Whether this local player is in hideout.

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

IsInMapRoom

PropertyLink ↗
public bool LocalPlayer.IsInMapRoom { get; }

Whether this local player is in map room.

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

IsInOverworld

PropertyLink ↗
public bool LocalPlayer.IsInOverworld { get; }

Whether this local player is in overworld.

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

IsInTown

PropertyLink ↗
public bool LocalPlayer.IsInTown { get; }

Whether this local player is in town.

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

League

PropertyLink ↗
public string LocalPlayer.League { get; }

Reads league on LocalPlayer 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.

NumberOfDeployedBrand

PropertyLink ↗
public int LocalPlayer.NumberOfDeployedBrand { get; }

Reads number of deployed brand on LocalPlayer 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.

PassiveSkillPointsAvailable

PropertyLink ↗
public int LocalPlayer.PassiveSkillPointsAvailable { get; }

Reads passive skill points available on LocalPlayer 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.

SkillBarIds

PropertyLink ↗
public List<uint> LocalPlayer.SkillBarIds { get; }

Gets the skill bar ids collection. Its element types are linked below.

Value type: List<uint>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

TotalCursesAllowed

PropertyLink ↗
public int LocalPlayer.TotalCursesAllowed { get; }

Reads total curses allowed on LocalPlayer 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.

TownPortal

PropertyLink ↗
public Portal LocalPlayer.TownPortal { get; }

Reads town portal on LocalPlayer as Portal. Open the value type below for its members and accepted values.

Value type: Portal
Explore Portal → members & methods

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

Inherited members and contracts

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

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

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

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

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 uint Player.Experience { get; } Declared by Player

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

public uint Player.ExperienceGainedThisLevel { get; } Declared by Player

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

public uint Player.ExperienceLastLevel { get; } Declared by Player

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

public uint Player.ExperienceLeftThisLevel { get; } Declared by Player

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

public uint Player.ExperienceNextLevel { get; } Declared by Player

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

public float Player.ExperiencePercent { get; } Declared by Player

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

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.

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.