DPB2Class · Game data

ModsDat

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

Namespace: DreamPoeBot.Loki.FilesInMemory

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

4 declared here

Search includes inherited members below. 19 matching inherited members →

ModsDat

MethodLink ↗
public ModsDat.ModsDat()

Creates a new ModsDat instance.

RecordsByTier

PropertyLink ↗
public Dictionary<ModTierKey, List<DatModsWrapper>> ModsDat.RecordsByTier { get; private set; }

Quick lookup of ModTierKey to a list of mods.

Value type: Dictionary<ModTierKey, List<DatModsWrapper>>
Explore ModTierKey → members & methods

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

Inherited members and contracts

19 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 long FileInMemory<TRecord>.ApproxStructSize { get; private protected set; } Declared by FileInMemory<TRecord>

Calculated structure size.

public required string DatModsWrapper.Category { get; init; } Declared by DatModsWrapper

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

public required string DatModsWrapper.DisplayName { get; init; } Declared by DatModsWrapper

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

public required Domain DatModsWrapper.Domain { get; init; } Declared by DatModsWrapper

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

public string FileInMemory.Filename { get; init; } Declared by FileInMemory

The filename of the file.

public TRecord? FileInMemory<TRecord>.GetRecordByAddress(long address) Declared by FileInMemory<TRecord>

Calls GetRecordByAddress on FileInMemory<TRecord> with address and returns TRecord?. Open the return contract below before using the result.

public required ushort DatModsWrapper.Hash16 { get; init; } Declared by DatModsWrapper

16b hash of the mod

public uint DatModsWrapper.Hash32 { get; init; } Declared by DatModsWrapper

32b hash of this mod.

public required int DatModsWrapper.Index { get; init; } Declared by DatModsWrapper

Index of this record in the source file

public required string DatModsWrapper.InternalName { get; init; } Declared by DatModsWrapper

Internal name of the mod, aka Id

public bool DatModsWrapper.IsEssenceExclusive { get; init; } Declared by DatModsWrapper

Whether this dat mods wrapper is essence exclusive.

public bool FileInMemory<TRecord>.IsValid { get; private protected set; } Declared by FileInMemory<TRecord>

True if the data are been validated.

public required int DatModsWrapper.Level { get; init; } Declared by DatModsWrapper

Mod level

public required ModType DatModsWrapper.ModType { get; init; } Declared by DatModsWrapper

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

public int FileInMemory<TRecord>.RecordCount { get; init; } Declared by FileInMemory<TRecord>

Total number of records in the file

public TRecord[] FileInMemory<TRecord>.Records { get; private set; } Declared by FileInMemory<TRecord>

Array containing all records in the file, ordered exactly like ingame

public Dictionary<long, TRecord> FileInMemory<TRecord>.RecordsByAddress { get; private set; } Declared by FileInMemory<TRecord>

Gets the records by address collection. Its element types are linked below.

public StatContainer[] DatModsWrapper.Stats { get; internal set; } Declared by DatModsWrapper

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

public DatTagWrapper[] DatModsWrapper.Tags { get; internal init; } Declared by DatModsWrapper

Array of DreamPoeBot.Loki.FilesInMemory.DatTagWrapper belonging to this mod

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.