Пример #1
0
 protected void CallOnDisconnect(NetConnection client)
 {
     OnDisconnect?.Invoke(this, client);
 }
Пример #2
0
 protected void StartReceiveFrom(NetConnection connection)
 {
     tasks.Add(ReceiveFromAsync(connection));
 }
Пример #3
0
 protected void CallOnDataSend(NetConnection connection, byte[] data)
 {
     OnDataSend?.Invoke(this, connection, data);
 }