DPB1Class · World, character and items

Charges

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

Namespace: DreamPoeBot.Loki.Components

public class Charges
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

8 declared here

Search includes inherited members below. 2 matching inherited members →

Charges

MethodLink ↗
public Charges.Charges()

Creates a new Charges instance.

GetMaxCharges

MethodLink ↗
public int Charges.GetMaxCharges(LocalStats localStats)

Calls GetMaxCharges on Charges with localStats 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

localStats

Specifies local stats.

Returns: The int result.

ChargesPerUse

PropertyLink ↗
public int Charges.ChargesPerUse { get; }

Reads charges per use on Charges 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.

CurrentCharges

PropertyLink ↗
public int Charges.CurrentCharges { get; }

Reads current charges on Charges 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.

ExtraCharges

PropertyLink ↗
public int Charges.ExtraCharges { get; }

Reads extra charges on Charges 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.

MaxBaseCharges

PropertyLink ↗
public int Charges.MaxBaseCharges { get; }

Reads max base charges on Charges 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.

MaxCharges

PropertyLink ↗
public int Charges.MaxCharges { get; }

Reads max charges on Charges 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.

MaxChargesModifier

PropertyLink ↗
public double Charges.MaxChargesModifier { get; }

Reads max charges modifier on Charges as double. The exact type and accessors are shown below.

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

Inherited members and contracts

2 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 NetworkObject Component.Owner { get; } Declared by Component

Entity that owns this component, resolved through the validated component layout.

public Entity Component.OwnerEntity { get; } Declared by Component

Lifetime-aware owner when the component was obtained through Entity.GetComponent. Falls back to the validated owner backlink for directly-created component wrappers.

DPB1 0.3.29.56 · 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.