Facepunch.Steamworks Wiki

Steamworks.SteamNetworking.ReadP2PPacket

Syntax

static Data.P2Packet? ReadP2PPacket( int channel = 0 )

Description

Reads in a packet that has been sent from another user via SendP2PPacket..

Arguments

int channel 0

Returns

Syntax

static bool ReadP2PPacket( byte[] buffer, uint size, SteamId steamid, int channel = 0 )

Description

Reads in a packet that has been sent from another user via SendP2PPacket..

Arguments

byte[] buffer
uint size
SteamId steamid
int channel 0

Returns

bool

Syntax

static bool ReadP2PPacket( byte* buffer, uint cbuf, uint size, SteamId steamid, int channel = 0 )

Description

Reads in a packet that has been sent from another user via SendP2PPacket..

Arguments

byte* buffer
uint cbuf
uint size
SteamId steamid
int channel 0

Returns

bool

Page Links


Special Pages


Wikis

?

Render Time: 52ms

DB GetPage 39
Generate Html 1
SaveChanges (1) 9
Render Body 0
Render Sidebar 1