Example #1
0
 private void MessageReceived(int _fromClient, Packet _packet)
 {
     OnReceiveMessageFromClient?.Invoke(_fromClient, _packet.ReadString());
 }
Example #2
0
 public void ReceiveMessageFromClient(int fromClient, string message)
 {
     OnReceiveMessageFromClient?.Invoke(fromClient, message);
 }