Skip to content
Version 2.11.0
↓ Get the launcher

IPlayerState interface

Read-only view of the local player’s basic state. All properties are safe to read at any time; when IsAvailable is false (e.g. on title / character select / loading screens) the vitals and position return defaults (zero, Zero). Identity — name, level, profession — is served from the character record and can be populated independently of IsAvailable.

public interface IPlayerState : IPlayerIdentity, IPlayerLocation, IPlayerVitals

The service is polled — the framework refreshes the snapshot once per game tick (via Panda.Core.Game.Update). Plugins typically read the values from their own IFramework.Update handler. v1 surface: Name, Level, HP, Stamina, Position. XP / buffs / target / class are deferred to a later phase.