示例#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);
 }