RoomClientR, MRoomDirectRelayNotified Event |
Namespace: SoftGear.Strix.Client.Room
public event RoomClientR, MRoomDirectRelayNotificationEventHandler RoomDirectRelayNotified
StrixNetwork.instance.roomSession.roomClient.RoomDirectRelayNotified += notification => { var sender = (MatchRoomMember)StrixNetwork.instance.roomMembers[notification.Data.GetFromUid()]; Debug.Log("Player " + sender.GetName() + " sent you a direct message: " + ((RoomDirectRelayMessage)notification.Data.GetMessageToRelay()).GetMessageToRelay()); };