Delegate NetworkPipelineStage.ReceiveDelegate
Receive method of the pipeline stage.
Namespace: Unity.Networking.Transport
Assembly: Unity.Networking.Transport.dll
Syntax
public delegate void NetworkPipelineStage.ReceiveDelegate(ref NetworkPipelineContext ctx, ref InboundRecvBuffer inboundBuffer, ref NetworkPipelineStage.Requests requests, int systemHeadersSize)
Parameters
Type | Name | Description |
---|---|---|
NetworkPipelineContext | ctx | Context for the pipeline stage. |
InboundRecvBuffer | inboundBuffer | Buffer for the received packet. |
NetworkPipelineStage.Requests | requests | Requests of the pipeline stage. |
int | systemHeadersSize | Total header size for the pipeline. |