DPB2Struct · World, character and items

SpiritData

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

Namespace: DreamPoeBot.Loki.Game.Objects

public struct SpiritData
Reference: DPB2 0.4.5.103No matching type in the reviewed DPB1 catalog.

Members and overloads

8 declared here

SpiritData

MethodLink ↗
public SpiritData.SpiritData()

Creates a new SpiritData instance.

ToString

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

Available

PropertyLink ↗
public int SpiritData.Available { get; }

Spirit remaining after reservations, never negative.

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

Reserved

PropertyLink ↗
public int SpiritData.Reserved { get; }

Total reserved Spirit, including the rounded percentage reservation.

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

ReservedFlat

PropertyLink ↗
public int SpiritData.ReservedFlat { get; }

The fixed part of the reservation. Already included in Reserved.

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

ReservedPercent

PropertyLink ↗
public float SpiritData.ReservedPercent { get; }

Percentage of total Spirit reserved (0 to 100). Already included in Reserved.

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

Total

PropertyLink ↗
public int SpiritData.Total { get; }

Total Spirit before reservations.

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

WeaponSet

PropertyLink ↗
public int SpiritData.WeaponSet { get; }

One-based weapon set (1, 2 or 3). A zero total does not prove the set is unlocked.

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

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.