private void ShowOpponentInfo(ParticipantInfo opponent)
 {
     NetworkSessionManager.DebugScr("printing opponent info");
     DisplayName.text   = opponent.DisplayName;
     ParticipantId.text = opponent.ParticipantId;
     Rating.text        = opponent.Rating.ToString();
 }
        public void ParticipantLeft(ParticipantInfo participant)
        {
            state = States.PARTICIPANTLEFT;

            if (ParticipantLeftRoomEvent != null)
            {
                ParticipantLeftRoomEvent(participant);
            }
        }
        public void OnParticipantLeft(Participant participant)
        {
            ParticipantInfo part = new ParticipantInfo(participant.ParticipantId, participant.DisplayName);

            netSM.ParticipantLeft(part);
        }
 public void SetMatch(ParticipantInfo player, ParticipantInfo opponent)
 {
     Match = new MatchInfo(player, opponent);
 }
 public void OnParticipantLeft(ParticipantInfo participant)
 {
     StatusTitle.text = "Participant left";
     StartCoroutine(CloseAfterError());
 }