Skip to content

CachedAddressChain<TConnector> ​

An address chain caches the result of its parent, with option to validate the value at the resultant address.

Kind: Class

Namespace: ConnectorLib.Memory

Inheritance: AddressChain\<TConnector\>

Public Constructors

CachedAddressChain<TConnector>(AddressChain parent, byte[] verifyValue = null, string verifyMask = null)

Creates a new CachedAddressChain{TConnector} for the specified parent address chain.

Public Member Functions

virtual override

string

ToString()

virtual override

bool

Calculate(ulong out address)

bool

Calculate(ulong out address, bool verify)

bool

Calculate(ulong out address, bool verify, bool dontRecurse)

bool

Verify()

Verifies the value at the resultant address against the verify value and mask.

CachedAddressChain

PreCache()

Caches the address chain and returns itself. This is useful for chaining address chains together.

void

Uncache()

Uncaches the address chain, forcing it to recalculate the next time it is used.

Properties

ulong

Address

[get, ]