using System.Collections; using System.Collections.Generic; using UnityEngine; using XRTool.Util; namespace ShadowStudio.Model { public class Peer { private string peerId; private string nickName; private bool isOther; private string avatar; private CustomPeer customPeer; private AgoraCustomPeer aCustomPeer; public string PeerId { get => peerId; set => peerId = value; } public string NickName { get => nickName; set => nickName = value; } public bool IsOther { get => isOther; set => isOther = value; } public string Avatar { get => avatar; set => avatar = value; } public CustomPeer CustomPeer { get => customPeer; set => customPeer = value; } public AgoraCustomPeer AgoraCustomPeer { get=> aCustomPeer; set => aCustomPeer = value; } public bool IsSlef { get { return CommonMethod.MyPeer.PeerId == PeerId; } } } }