DPB2Class · Game data

DatModsWrapper

Wraps a record from Mods.dat file

Namespace: DreamPoeBot.Loki.Game.GameData

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

Members and overloads

14 declared here

DatModsWrapper

MethodLink ↗
public DatModsWrapper.DatModsWrapper()

Creates a new DatModsWrapper instance.

DatModsWrapper

MethodLink ↗
protected DatModsWrapper.DatModsWrapper(DatModsWrapper original)

Creates a new DatModsWrapper instance using the supplied arguments.

Parameters

original
Parameter type: DatModsWrapper

Specifies original.

Category

PropertyLink ↗
public required string DatModsWrapper.Category { get; init; }

Reads category on DatModsWrapper as required string. The exact type and accessors are shown below.

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

DisplayName

PropertyLink ↗
public required string DatModsWrapper.DisplayName { get; init; }

Actual name of the mod ("of the Brute" / "Athlete's").

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

can be empty for unique/corruption/implicit mods

Domain

PropertyLink ↗
public required Domain DatModsWrapper.Domain { get; init; }

Reads domain on DatModsWrapper as required Domain. Open the value type below for its members and accepted values.

Value type: required Domain
Explore Domain → members & methods

Named values for domain. Select a value when an API accepts or returns Domain.

Hash16

PropertyLink ↗
public required ushort DatModsWrapper.Hash16 { get; init; }

16b hash of the mod

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

Hash32

PropertyLink ↗
public uint DatModsWrapper.Hash32 { get; init; }

32b hash of this mod.

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

Index

PropertyLink ↗
public required int DatModsWrapper.Index { get; init; }

Index of this record in the source file

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

InternalName

PropertyLink ↗
public required string DatModsWrapper.InternalName { get; init; }

Internal name of the mod, aka Id

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

IsEssenceExclusive

PropertyLink ↗
public bool DatModsWrapper.IsEssenceExclusive { get; init; }

Whether this dat mods wrapper is essence exclusive.

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

Level

PropertyLink ↗
public required int DatModsWrapper.Level { get; init; }

Mod level

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

ModType

PropertyLink ↗
public required ModType DatModsWrapper.ModType { get; init; }

Reads mod type on DatModsWrapper as required ModType. Open the value type below for its members and accepted values.

Value type: required ModType
Explore ModType → members & methods

Named values for mod type. Select a value when an API accepts or returns ModType.

Stats

PropertyLink ↗
public StatContainer[] DatModsWrapper.Stats { get; internal set; }

Array of DreamPoeBot.Loki.Game.GameData.StatContainer belonging to this mod

Value type: StatContainer[]

one MOD can have 0 or several (up to 8) STATS. Example - most of the local defenses mods (EnergyShieldAndArmour), something like TrapDamageAndManaOnWeapon1, have 2 stats. Monster mods may have 0 stats.

Inherited members and contracts

0 public members from documented base types and interfaces. Links open the original declaration; overrides are shown only once. Search using the member field above.

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.