Method ResumeSend
ResumeSend(NetworkPipelineContext, out PacketHeader, ref bool)
Resend a packet which we have not received an acknowledgement for in time. Pipeline resume will be enabled if there are more packets which we need to resend. The send reliability context will then also be updated to track the next packet we need to resume.
Declaration
[Obsolete("Will be removed in Unity Transport 2.0.")]
public static InboundSendBuffer ResumeSend(NetworkPipelineContext context, out ReliableUtility.PacketHeader header, ref bool needsResume)
Parameters
Type | Name | Description |
---|---|---|
NetworkPipelineContext | context | Pipeline context, we'll use both the shared reliability context and send context. |
ReliableUtility.PacketHeader | header | Packet header for the packet payload we're resending. |
bool | needsResume | Indicates if a pipeline resume is needed again. Unused. |
Returns
Type | Description |
---|---|
InboundSendBuffer | Buffer slice to packet payload. |