C# 클래스 Luz.ULib.Net.NetworkEvent

Contains information about events received by the network. The type of the network event decides the content it can contain. Most important are: UnreliableMessageReceived / ReliableMessageReceived: A new message was received. The property MessageData will return a buffer + byte array containing the data received. ServerInitialized: A call to StartServer was successful. The Info property will return the address the server can be accessed by.
파일 보기 프로젝트 열기: devluz/webrtcnetwork 1 사용 예제들

공개 메소드들

메소드 설명
ToString ( ) : string

Converts the event to string. Use for debugging only.

비공개 메소드들

메소드 설명
NetworkEvent ( NetEventType t ) : System

Creates a new network event of a certain type setting connection id to invalid and data to null. Internal only. Do not use.

NetworkEvent ( NetEventType t, ConnectionId conId, object dt ) : System

Creates a network event with the given content Internal only. Do not use.

메소드 상세

ToString() 공개 메소드

Converts the event to string. Use for debugging only.
public ToString ( ) : string
리턴 string