public Life.Life()
Creates a new Life instance.
Provides life data and the operations listed below. Related types link to the values this API consumes or returns.
Namespace: DreamPoeBot.Loki.Components
public class LifeUseful members available through base types — open a member to read its exact contract:
Search includes inherited members below. 1 matching inherited member →
public Life.Life()
Creates a new Life instance.
public SpiritData Life.GetSpirit(int weaponSet)
Reads the Spirit budget for a one-based weapon set (1..3), without opening G. Throws when the resource is missing, invalid or changes owner during the read. Primarily intended for the local player; not all actors have Spirit resources.
SpiritDataA read-only snapshot of the player's Spirit budget for one weapon set.
weaponSetintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies weapon set.
Returns: The SpiritData result.
public override string Life.ToString()
Returns a text representation of this value.
stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Returns: The string result.
public bool Life.CorpseUsable { get; }
Reads corpse usable on Life as bool. The exact type and accessors are shown below.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Public DPB2 0.4.5.103 corrects corpse-usability observations. Reacquire the object after a wait or area change; this flag alone does not prove range, reachability or success of a skill request.
public int Life.EnergyShield { get; }
Reads energy shield on Life as int. The exact type and accessors are shown below.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public int Life.EnergyShieldMax { get; }
Reads energy shield max on Life as int. The exact type and accessors are shown below.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public float Life.EnergyShieldPercent { get; }
Reads energy shield percent on Life as float. The exact type and accessors are shown below.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public float Life.EnergyShieldPercentTotal { get; }
Reads energy shield percent total on Life as float. The exact type and accessors are shown below.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public float Life.EnergyShieldRegen { get; }
Reads energy shield regen on Life as float. The exact type and accessors are shown below.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public int Life.EnergyShieldReserved { get; }
Reads energy shield reserved on Life as int. The exact type and accessors are shown below.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public float Life.EnergyShieldReservedPercent { get; }
Reads energy shield reserved percent on Life as float. The exact type and accessors are shown below.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public int Life.Health { get; }
Reads health on Life as int. The exact type and accessors are shown below.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public float Life.HealthPercent { get; }
Reads health percent on Life as float. The exact type and accessors are shown below.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public float Life.HealthRegen { get; }
Reads health regen on Life as float. The exact type and accessors are shown below.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public int Life.HealthReserved { get; }
Reads health reserved on Life as int. The exact type and accessors are shown below.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public int Life.HealthReservedPercent { get; }
Reads health reserved percent on Life as int. The exact type and accessors are shown below.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public int Life.Mana { get; }
Reads mana on Life as int. The exact type and accessors are shown below.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public float Life.ManaPercent { get; }
Reads mana percent on Life as float. The exact type and accessors are shown below.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public float Life.ManaPercentTotal { get; }
Reads mana percent total on Life as float. The exact type and accessors are shown below.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public float Life.ManaRegen { get; }
Reads mana regen on Life as float. The exact type and accessors are shown below.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public int Life.ManaReserved { get; }
Reads mana reserved on Life as int. The exact type and accessors are shown below.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public float Life.ManaReservedPercent { get; }
Reads mana reserved percent on Life as float. The exact type and accessors are shown below.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public int Life.MaxHealth { get; }
Reads max health on Life as int. The exact type and accessors are shown below.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public int Life.MaxMana { get; }
Reads max mana on Life as int. The exact type and accessors are shown below.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.1 public member from documented base types and interfaces. Links open the original declaration; overrides are shown only once. Search using the member field above.
public override bool Component.IsValid { get; }
Declared by Component
Whether this component is valid.
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.