public virtual void OnMatchJoined(string data)
        {
            if (NetworkInfos.IsServer)
            {
                return;
            }
            MatchJoinedMessage mmsg = JsonUtility.FromJson <MatchJoinedMessage> (data);

            OnMmMatchJoined?.Invoke(mmsg.matchId, mmsg.userId, mmsg.teamId);
            Print("Successfully joined match!");
            _matchId = mmsg.matchId;
            _userId  = mmsg.userId;
        }
 public void OnMatchJoinedMessage(MatchJoinedMessage message)
 {
     writeLine("-+-user " + message.UserId + ":" + message.Username + " joined to match. All joined json: " + Backtory.ToJson((message.ConnectedUserIds), true));
 }