C# Class UnityEngine.Networking.ULocalConnectionToServer

Inheritance: NetworkConnection
ファイルを表示 Open project: CarlosHBC/UnityDecompiled 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
ULocalConnectionToServer ( NetworkServer localServer ) : 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

ULocalConnectionToServer() public method

public ULocalConnectionToServer ( NetworkServer localServer ) : System
localServer NetworkServer
return System