C# Class UnityEngine.Networking.ChannelBuffer

Inheritance: IDisposable
Afficher le fichier Open project: randomize/VimConfig Class Usage Examples

Méthodes publiques

Свойство Type Description
maxDelay float

Méthodes publiques

Méthode Description
ChannelBuffer ( NetworkConnection conn, int bufferSize, byte cid, bool isReliable ) : System
CheckInternalBuffer ( ) : void
Dispose ( ) : void
Send ( short msgType, MessageBase msg ) : bool
SendInternalBuffer ( ) : bool
SendWriter ( NetworkWriter writer ) : bool
SetOption ( ChannelOption option, int value ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
AllocPacket ( ) : ChannelPacket
FreePacket ( ChannelPacket packet ) : void
QueuePacket ( ) : void
SendBytes ( byte bytes, int bytesToSend ) : bool

Method Details

ChannelBuffer() public méthode

public ChannelBuffer ( NetworkConnection conn, int bufferSize, byte cid, bool isReliable ) : System
conn NetworkConnection
bufferSize int
cid byte
isReliable bool
Résultat System

CheckInternalBuffer() public méthode

public CheckInternalBuffer ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Send() public méthode

public Send ( short msgType, MessageBase msg ) : bool
msgType short
msg MessageBase
Résultat bool

SendInternalBuffer() public méthode

public SendInternalBuffer ( ) : bool
Résultat bool

SendWriter() public méthode

public SendWriter ( NetworkWriter writer ) : bool
writer NetworkWriter
Résultat bool

SetOption() public méthode

public SetOption ( ChannelOption option, int value ) : bool
option ChannelOption
value int
Résultat bool

Property Details

maxDelay public_oe property

public float maxDelay
Résultat float