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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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