DPB2Class · Game data

UniversalFileWrapper<RecordType>

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

Namespace: DreamPoeBot.Loki.FilesInMemory.Base

public class UniversalFileWrapper<RecordType> where RecordType : RemoteMemoryObject, new()
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

7 declared here

CheckCache

MethodLink ↗
public void UniversalFileWrapper<RecordType>.CheckCache()

Calls CheckCache on UniversalFileWrapper<RecordType> without arguments. This overload has no return value.

Return type: voidNo return value.

EntryAdded

MethodLink ↗
protected virtual void UniversalFileWrapper<RecordType>.EntryAdded(long addr, RecordType entry)

Calls EntryAdded on UniversalFileWrapper<RecordType> with addr, entry. This overload has no return value.

Return type: voidNo return value.

Parameters

addr
Parameter type: longNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

entry
Parameter type: RecordTypeNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

GetByAddress

MethodLink ↗
public RecordType UniversalFileWrapper<RecordType>.GetByAddress(long address)

Calls GetByAddress on UniversalFileWrapper<RecordType> with address and returns RecordType. Open the return contract below before using the result.

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

Parameters

address
Parameter type: longNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies address.

Returns: The RecordType result.

RecordAddresses

MethodLink ↗
protected IEnumerable<long> UniversalFileWrapper<RecordType>.RecordAddresses(int datalenght = 24)

Calls RecordAddresses on UniversalFileWrapper<RecordType> with datalenght and returns IEnumerable<long>. Open the return contract below before using the result.

Return type: IEnumerable<long>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

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

Specifies datalenght. Optional; the default is shown in the signature.

Returns: The IEnumerable<long> result.

CachedEntriesList

PropertyLink ↗
protected List<RecordType> UniversalFileWrapper<RecordType>.CachedEntriesList { get; set; }

Gets the cached entries list collection. Its element types are linked below.

Value type: List<RecordType>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

EntriesAddressDictionary

PropertyLink ↗
protected Dictionary<long, RecordType> UniversalFileWrapper<RecordType>.EntriesAddressDictionary { get; set; }

Gets the entries address dictionary collection. Its element types are linked below.

Value type: Dictionary<long, RecordType>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

EntriesList

PropertyLink ↗
public List<RecordType> UniversalFileWrapper<RecordType>.EntriesList { get; }

Gets the entries list collection. Its element types are linked below.

Value type: List<RecordType>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

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.