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
Methods
CopySandboxValues(TEvent, SandboxValue[], int)
void CopySandboxValues(TEvent e, SandboxValue[] destination, int destinationIndex)
Parameters
eTEventdestinationSandboxValue[]destinationIndexint
ToSandboxValue(TEvent, int)
SandboxValue ToSandboxValue(TEvent e, int index)
Parameters
eTEventindexint