Table of Contents

Class PokeSessionParams

Namespace
RDCore.SDK.Platform.Protocol
Assembly
RDCore.SDK.dll

Request for rdcore/session/memory/poke: a client writes one byte of the runtime session's memory.

[Method("rdcore/session/memory/poke", Direction.ClientToServer)]
public record PokeSessionParams : IRequest, IRequest<Unit>, IRequest<PokeSessionResult>, IBaseRequest, IEquatable<PokeSessionParams>
Inheritance
PokeSessionParams
Implements
IRequest
IRequest<Unit>
IBaseRequest
Inherited Members

Remarks

Unchecked, and deliberately so. Writing a byte into the middle of a live variable changes that variable to whatever the new bytes spell — an ordinary, valid value of its declared type, or a nonsensical one. Nothing here prevents that; being able to do it is the point.

Properties

Address

The address to write.

public int Address { get; init; }

Property Value

int

Value

The byte to write there.

public byte Value { get; init; }

Property Value

byte