C# 클래스 BeardedManStudios.Forge.Networking.CachedSteamP2PClient

상속: IDisposable
파일 보기 프로젝트 열기: wormszer/ForgeSnapshotDemo 1 사용 예제들

공개 메소드들

메소드 설명
CachedSteamP2PClient ( ) : Steamworks
CachedSteamP2PClient ( CSteamID endPoint ) : Steamworks
Close ( ) : void
IDisposable ( ) : void
Receive ( uint msgSize, CSteamID &from ) : BMSByte
ReceiveAsync ( ) : Task
Send ( Array dgram, int bytes, CSteamID steamId, EP2PSend type = EP2PSend.k_EP2PSendUnreliable ) : int
SendAsync ( Array datagram, int bytes ) : Task
SendAsync ( Array datagram, int bytes, IPEndPoint endPoint ) : Task
SendAsync ( Array datagram, int bytes, string hostname, int port ) : Task

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
CheckDisposed ( ) : void
CutArray ( Array orig, int length ) : byte[]
DoSend ( Array dgram, int bytes, CSteamID steamId, EP2PSend type ) : int

메소드 상세

CachedSteamP2PClient() 공개 메소드

public CachedSteamP2PClient ( ) : Steamworks
리턴 Steamworks

CachedSteamP2PClient() 공개 메소드

public CachedSteamP2PClient ( CSteamID endPoint ) : Steamworks
endPoint CSteamID
리턴 Steamworks

Close() 공개 메소드

public Close ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

IDisposable() 공개 메소드

public IDisposable ( ) : void
리턴 void

Receive() 공개 메소드

public Receive ( uint msgSize, CSteamID &from ) : BMSByte
msgSize uint
from CSteamID
리턴 BMSByte

ReceiveAsync() 공개 메소드

public ReceiveAsync ( ) : Task
리턴 Task

Send() 공개 메소드

public Send ( Array dgram, int bytes, CSteamID steamId, EP2PSend type = EP2PSend.k_EP2PSendUnreliable ) : int
dgram Array
bytes int
steamId CSteamID
type EP2PSend
리턴 int

SendAsync() 공개 메소드

public SendAsync ( Array datagram, int bytes ) : Task
datagram Array
bytes int
리턴 Task

SendAsync() 공개 메소드

public SendAsync ( Array datagram, int bytes, IPEndPoint endPoint ) : Task
datagram Array
bytes int
endPoint IPEndPoint
리턴 Task

SendAsync() 공개 메소드

public SendAsync ( Array datagram, int bytes, string hostname, int port ) : Task
datagram Array
bytes int
hostname string
port int
리턴 Task