Skip to content

DomainMappedConnector ​

Wraps a connector and maps it to a specific domain.

Kind: Class

Namespace: ConnectorLib

Inheritance: IAddressableConnector → IDisposable → IGameConnector

Public Constructors

DomainMappedConnector(IDomainMappableConnector connector, MemoryDomain domain)

Creates a new instance of the ConnectorLib.DomainMappedConnector class.

DomainMappedConnector(IDomainMappableConnector connector, string domain)

Creates a new instance of the ConnectorLib.DomainMappedConnector class.

Public Member Functions

bool

Read(ulong address, Span buffer)

bool

Read(ulong address, Span buffer, int offset, int length)

bool

Write(ulong address, byte[] buffer)

bool

Write(ulong address, byte[] buffer, int offset, int length)

bool

Write(ulong address, ReadOnlySpan buffer)

bool

Write(ulong address, ReadOnlySpan buffer, int offset, int length)

bool

Freeze(ulong address, ulong value, byte size, WriteType writeType, ulong cmpAddress, ulong cmpValue, byte cmpSize, CompareType cmpType)

bool

Freeze(ulong address, ulong value, ulong mask, byte size, WriteType writeType, ulong cmpAddress, ulong cmpValue, byte cmpSize, CompareType cmpType)

bool

Unfreeze(ulong address)

bool

SetBits(ulong address, byte mask, byte out orig)

bool

UnsetBits(ulong address, byte mask, byte out orig)

void

Dispose()

IBatchWriteContext

OpenBatchWriteContext()

bool

SendMessage(string message)

void

KeepAlive()

Task>

Connect()

Task>

Connect(uint retryCount, SITimeSpan retryInterval)

Task

Disconnect()

Properties

IDomainMappableConnector

Connector

[get, ]

The connector used to read and write memory.

IFeatureAware

Features

[get, ]

MemoryDomain

Domain

[get, ]

The domain used to read and write memory.

Endianness

Endianness

[get, ]

PointerFormat

PointerFormat

[get, ]

string

ID

[get, ]

bool

Connected

[get, ]

IMemoryMapper

Mapper

[get, set]

Events

Action<string>

OnMessage

Action

OnReady

Action<string>

ConnectionError

EventHandler<ValueTuple<ConnectionStatus, string>>

ConnectionStatusChanged