Exemple #1
0
 /// <summary>Reads a far rectangle value.</summary>
 /// <param name="packet">The packet to read from.</param>
 /// <param name="data">The read value.</param>
 /// <returns>This packet, for call chaining.</returns>
 /// <exception cref="PacketException">The packet has not enough available data for the read operation.</exception>
 public static IReadablePacket Read(this IReadablePacket packet, out FarRectangle data)
 {
     data = packet.ReadFarRectangle();
     return(packet);
 }