C# Class UnityEngine.Networking.ChannelPacket

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public ChannelPacket ( int packetSize, bool isReliable ) : System
packetSize int
isReliable bool
Résultat System

HasSpace() public méthode

public HasSpace ( int numBytes ) : bool
numBytes int
Résultat bool

IsEmpty() public méthode

public IsEmpty ( ) : bool
Résultat bool

Reset() public méthode

public Reset ( ) : void
Résultat void

SendToTransport() public méthode

public SendToTransport ( NetworkConnection conn, int channelId ) : bool
conn NetworkConnection
channelId int
Résultat bool

Write() public méthode

public Write ( byte bytes, int numBytes ) : void
bytes byte
numBytes int
Résultat void