C# 클래스 BeardedManStudios.Network.DefaultClientTCP

상속: TCPProcess
파일 보기 프로젝트 열기: drakelinglabs/unityarmada 1 사용 예제들

공개 메소드들

메소드 설명
Connect ( string hostAddress, ushort port ) : void
Disconnect ( ) : void
Disconnect ( NetworkingPlayer player, string reason = "" ) : void
GetNewPlayerUpdates ( ) : void

Get all the new player updates

Send ( byte data, int length, object endpoint = null ) : void
TimeoutDisconnect ( ) : void
Write ( NetworkingPlayer player, NetworkingStream stream ) : void
Write ( NetworkingStream stream ) : void

비공개 메소드들

메소드 설명
ReadAsync ( ) : void
ThreadedConnect ( object hostAndPort ) : void

메소드 상세

Connect() 공개 메소드

public Connect ( string hostAddress, ushort port ) : void
hostAddress string
port ushort
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

Disconnect() 공개 메소드

public Disconnect ( NetworkingPlayer player, string reason = "" ) : void
player NetworkingPlayer
reason string
리턴 void

GetNewPlayerUpdates() 공개 메소드

Get all the new player updates
public GetNewPlayerUpdates ( ) : void
리턴 void

Send() 공개 메소드

public Send ( byte data, int length, object endpoint = null ) : void
data byte
length int
endpoint object
리턴 void

TimeoutDisconnect() 공개 메소드

public TimeoutDisconnect ( ) : void
리턴 void

Write() 공개 메소드

public Write ( NetworkingPlayer player, NetworkingStream stream ) : void
player NetworkingPlayer
stream NetworkingStream
리턴 void

Write() 공개 메소드

public Write ( NetworkingStream stream ) : void
stream NetworkingStream
리턴 void