Skip to content

I8BitConnector ​

Interface for a connector that can read and write 8-bit values.

Kind: Interface

Namespace: ConnectorLib

Inheritance: IAddressableConnector → IDisposable → IGameConnector

Public Member Functions

abstract virtual

bool

Read8(ulong address, byte out value)

Reads an unsigned 8-bit value from the game system.

virtual

bool

Read8(ulong address, sbyte out value)

Reads an unsigned 8-bit value from the game system.

abstract virtual

bool

Write8(ulong address, byte value)

Writes an unsigned 8-bit value to the game system.

virtual

bool

Write8(ulong address, sbyte value)

Writes an unsigned 8-bit value to the game system.

abstract virtual

bool

Freeze8(ulong address, byte value)

Freezes an unsigned 8-bit value on the game system.

virtual

bool

Freeze8(ulong address, sbyte value)

Freezes an unsigned 8-bit value on the game system.

abstract virtual

bool

Unfreeze(ulong address)

virtual

IBatchContext8

GetBatchContext8()

Creates a batch context for queuing conditional operations.

abstract virtual

bool

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

Performs a test-and-set using a bitmask.

abstract virtual

bool

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

Performs a test-and-clear using a bitmask.

abstract virtual

bool

CompareSwap(ulong chkAddress, byte test, byte newVal, byte out orig)

Performs a compare-and-swap. Reads the byte at the specified address, writing a new value iff the original value matches the test value, returning the original value.

virtual

bool

FreezeU8(ulong address, byte value, byte cmpValue, CompareType cmpType)

virtual

bool

FreezeU8TU8(ulong address, byte value, byte cmpValue, CompareType cmpType)

Freezes a value on the game system if a comparison is met.

virtual

bool

FreezeU8TU8(ulong address, byte value, ulong cmpAddress, byte cmpValue, CompareType cmpType)

Freezes a value on the game system if a comparison is met.