DPB2Class · World, character and items

Weapon

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

Namespace: DreamPoeBot.Loki.Components

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

11 declared here

Search includes inherited members below. 1 matching inherited member →

Weapon

MethodLink ↗
public Weapon.Weapon()

Creates a new Weapon instance.

BaseAttacksPerSecond

PropertyLink ↗
public double Weapon.BaseAttacksPerSecond { get; }

Reads base attacks per second on Weapon 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.

BaseAttacksPerSecondRaw

PropertyLink ↗
public int Weapon.BaseAttacksPerSecondRaw { get; }

Reads base attacks per second raw on Weapon 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.

BaseCritialStrikeChance

PropertyLink ↗
public double Weapon.BaseCritialStrikeChance { get; }

Reads base critial strike chance on Weapon 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.

BaseCritialStrikeChanceRaw

PropertyLink ↗
public int Weapon.BaseCritialStrikeChanceRaw { get; }

Reads base critial strike chance raw on Weapon 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.

BaseMaxPhysicalDamage

PropertyLink ↗
public int Weapon.BaseMaxPhysicalDamage { get; }

Reads base max physical damage on Weapon 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.

BaseMinPhysicalDamage

PropertyLink ↗
public int Weapon.BaseMinPhysicalDamage { get; }

Reads base min physical damage on Weapon 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.

BaseWeaponType

PropertyLink ↗
public int Weapon.BaseWeaponType { get; }

Reads base weapon type on Weapon 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.

WeaponRange

PropertyLink ↗
public int Weapon.WeaponRange { get; }

Reads weapon range on Weapon 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.

_14

PropertyLink ↗
public int Weapon._14 { get; }

Reads _14 on Weapon 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.

_1C

PropertyLink ↗
public int Weapon._1C { get; }

Reads _1 c on Weapon 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.