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