DPB2Class · World, character and items

LocalStats

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

Namespace: DreamPoeBot.Loki.Components

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

6 declared here

Search includes inherited members below. 1 matching inherited member →

LocalStats

MethodLink ↗
public LocalStats.LocalStats()

Creates a new LocalStats instance.

GetStat

MethodLink ↗
public int LocalStats.GetStat(StatTypeGGG stat)

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

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

Parameters

stat

Specifies stat.

Returns: The int result.

StatDictionary

PropertyLink ↗
public Dictionary<StatTypeGGG, int> LocalStats.StatDictionary { get; }

Gets the stat dictionary collection. Its element types are linked below.

Value type: Dictionary<StatTypeGGG, int>
Explore StatTypeGGG → members & methods

Named values for stat type ggg. Select a value when an API accepts or returns StatTypeGGG.

Stats

PropertyLink ↗
public Dictionary<StatTypeGGG, int> LocalStats.Stats { get; }

Gets the stats collection. Its element types are linked below.

Value type: Dictionary<StatTypeGGG, int>
Explore StatTypeGGG → members & methods

Named values for stat type ggg. Select a value when an API accepts or returns StatTypeGGG.

Type

PropertyLink ↗Deprecated
public int LocalStats.Type { get; }

Reads type on LocalStats 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.

Value

PropertyLink ↗Deprecated
public int LocalStats.Value { get; }

Reads value on LocalStats 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

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.