C# Class UnityEngine.Networking.ULocalConnectionToServer

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

Méthodes publiques

Méthode Description
GetStatsIn ( int &numMsgs, int &numBytes ) : void
GetStatsOut ( int &numMsgs, int &numBufferedMsgs, int &numBytes, int &lastBufferedPerSecond ) : void
Send ( short msgType, MessageBase msg ) : bool
SendByChannel ( short msgType, MessageBase msg, int channelId ) : bool
SendBytes ( byte bytes, int numBytes, int channelId ) : bool
SendUnreliable ( short msgType, MessageBase msg ) : bool
SendWriter ( NetworkWriter writer, int channelId ) : bool
ULocalConnectionToServer ( NetworkServer localServer ) : System

Method Details

GetStatsIn() public méthode

public GetStatsIn ( int &numMsgs, int &numBytes ) : void
numMsgs int
numBytes int
Résultat void

GetStatsOut() public méthode

public GetStatsOut ( int &numMsgs, int &numBufferedMsgs, int &numBytes, int &lastBufferedPerSecond ) : void
numMsgs int
numBufferedMsgs int
numBytes int
lastBufferedPerSecond int
Résultat void

Send() public méthode

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

SendByChannel() public méthode

public SendByChannel ( short msgType, MessageBase msg, int channelId ) : bool
msgType short
msg MessageBase
channelId int
Résultat bool

SendBytes() public méthode

public SendBytes ( byte bytes, int numBytes, int channelId ) : bool
bytes byte
numBytes int
channelId int
Résultat bool

SendUnreliable() public méthode

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

SendWriter() public méthode

public SendWriter ( NetworkWriter writer, int channelId ) : bool
writer NetworkWriter
channelId int
Résultat bool

ULocalConnectionToServer() public méthode

public ULocalConnectionToServer ( NetworkServer localServer ) : System
localServer NetworkServer
Résultat System