DPB2Class · Game state and actions

FileInMemory<TRecord>

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

Namespace: DreamPoeBot.Loki

public class FileInMemory<TRecord>

Inherited APIs and contracts

Members declared by a base type are documented on that type. Follow these links to include them in your lookup.

Members and overloads

6 results

GetRecordByAddress

MethodLink ↗
public TRecord? FileInMemory<TRecord>.GetRecordByAddress(long address)

Returns record by address using the supplied arguments.

addresslong
Specifies address.

Returns: The record if found, NULL otherwise

ApproxStructSize

PropertyLink ↗
public long FileInMemory<TRecord>.ApproxStructSize { get; private protected set; }

Calculated structure size.

IsValid

PropertyLink ↗
public bool FileInMemory<TRecord>.IsValid { get; private protected set; }

True if the data are been validated.

RecordCount

PropertyLink ↗
public int FileInMemory<TRecord>.RecordCount { get; init; }

Total number of records in the file

Records

PropertyLink ↗
public TRecord[] FileInMemory<TRecord>.Records { get; private set; }

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

RecordsByAddress

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

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

DPB2 0.4.5.88 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.