Table of Contents

Interface IPluginEventValueWriter<TEvent>

Namespace
DotBoxD.Abstractions
Assembly
DotBoxD.Abstractions.dll

Optional low-allocation event adapter path. Implement this when event values can be written directly into the runtime input buffer; EventValueCount must match Parameters.

public interface IPluginEventValueWriter<in TEvent> : IPluginEventAdapter<TEvent>

Type Parameters

TEvent
Inherited Members

Properties

EventValueCount

int EventValueCount { get; }

Property Value

int

Methods

CopySandboxValues(TEvent, SandboxValue[], int)

void CopySandboxValues(TEvent e, SandboxValue[] destination, int destinationIndex)

Parameters

e TEvent
destination SandboxValue[]
destinationIndex int

ToSandboxValue(TEvent, int)

SandboxValue ToSandboxValue(TEvent e, int index)

Parameters

e TEvent
index int

Returns

SandboxValue