C# Class UnityEngine.Networking.ULocalConnectionToClient

Inheritance: NetworkConnection
Mostra file Open project: randomize/VimConfig Class Usage Examples

Public Methods

Method 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
ULocalConnectionToClient ( LocalClient localClient ) : System

Method Details

GetStatsIn() public method

public GetStatsIn ( int &numMsgs, int &numBytes ) : void
numMsgs int
numBytes int
return void

GetStatsOut() public method

public GetStatsOut ( int &numMsgs, int &numBufferedMsgs, int &numBytes, int &lastBufferedPerSecond ) : void
numMsgs int
numBufferedMsgs int
numBytes int
lastBufferedPerSecond int
return void

Send() public method

public Send ( short msgType, MessageBase msg ) : bool
msgType short
msg MessageBase
return bool

SendByChannel() public method

public SendByChannel ( short msgType, MessageBase msg, int channelId ) : bool
msgType short
msg MessageBase
channelId int
return bool

SendBytes() public method

public SendBytes ( byte bytes, int numBytes, int channelId ) : bool
bytes byte
numBytes int
channelId int
return bool

SendUnreliable() public method

public SendUnreliable ( short msgType, MessageBase msg ) : bool
msgType short
msg MessageBase
return bool

SendWriter() public method

public SendWriter ( NetworkWriter writer, int channelId ) : bool
writer NetworkWriter
channelId int
return bool

ULocalConnectionToClient() public method

public ULocalConnectionToClient ( LocalClient localClient ) : System
localClient LocalClient
return System