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