protected void HandleDataReceived(GameEventData gameEventData) { if (gameEventData.data is NetReceivedData receivedData) { OnDataReceived?.Raise(this, receivedData); } }