Facepunch.Steamworks Wiki

Revision Difference

SteamNetworking.ReadP2PPacket#519834

<member type="method" namespace="Steamworks" parent="SteamNetworking" name="ReadP2PPacket" static="true"> <args> <arg name="channel" type="int" default="0"></arg> </args> <return type="Nullable<Steamworks.Data.P2Packet>"></return> <return type="Nullable<Data.P2Packet>"></return> <summary>Reads in a packet that has been sent from another user via SendP2PPacket..</summary>⤶ </member>⤶ ⤶ ⤶ <member type="method" namespace="Steamworks" parent="SteamNetworking" name="ReadP2PPacket" static="true">⤶ <args>⤶ <arg name="buffer" type="byte[]"></arg>⤶ <arg name="size" type="uint" ref="true"></arg>⤶ <arg name="steamid" type="SteamId" ref="true"></arg>⤶ <arg name="channel" type="int" default="0"></arg>⤶ </args>⤶ <return type="bool"></return>⤶ <summary>Reads in a packet that has been sent from another user via SendP2PPacket..</summary>⤶ </member>⤶ ⤶ ⤶ <member type="method" namespace="Steamworks" parent="SteamNetworking" name="ReadP2PPacket" static="true">⤶ <args>⤶ <arg name="buffer" type="System.Byte*"></arg>⤶ <arg name="cbuf" type="uint"></arg>⤶ <arg name="size" type="uint" ref="true"></arg>⤶ <arg name="steamid" type="SteamId" ref="true"></arg>⤶ <arg name="channel" type="int" default="0"></arg>⤶ </args>⤶ <return type="bool"></return>⤶ <summary>Reads in a packet that has been sent from another user via SendP2PPacket..</summary> </member>