C# Class UnityEngine.Networking.ChannelPacket

Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
ChannelPacket ( int packetSize, bool isReliable ) : System
HasSpace ( int numBytes ) : bool
IsEmpty ( ) : bool
Reset ( ) : void
SendToTransport ( NetworkConnection conn, int channelId ) : bool
Write ( byte bytes, int numBytes ) : void

Method Details

ChannelPacket() public method

public ChannelPacket ( int packetSize, bool isReliable ) : System
packetSize int
isReliable bool
return System

HasSpace() public method

public HasSpace ( int numBytes ) : bool
numBytes int
return bool

IsEmpty() public method

public IsEmpty ( ) : bool
return bool

Reset() public method

public Reset ( ) : void
return void

SendToTransport() public method

public SendToTransport ( NetworkConnection conn, int channelId ) : bool
conn NetworkConnection
channelId int
return bool

Write() public method

public Write ( byte bytes, int numBytes ) : void
bytes byte
numBytes int
return void