Method WriteAckPacket
WriteAckPacket(NetworkPipelineContext, ref PacketHeader)
Write an ack packet, only the packet header is used and this doesn't advance the sequence ID. The packet is not stored away for resend routine.
Declaration
[Obsolete("Will be removed in Unity Transport 2.0.")]
public static void WriteAckPacket(NetworkPipelineContext context, ref ReliableUtility.PacketHeader header)
Parameters
Type | Name | Description |
---|---|---|
NetworkPipelineContext | context | Pipeline context, the reliability shared state is used here. |
ReliableUtility.PacketHeader | header | Packet header which will be populated. |