public bool editDetails(TexasHoldemShared.CommMessages.ClientToServer.EditCommMessage.EditField field, string value) { //checkifAnyConstraints? EditCommMessage toSend = new EditCommMessage(_userId, field, value); _eventHandler.SendNewEvent(toSend); return(true); }
public void SpectateRoom(int roomId) { ActionCommMessage toSend = new ActionCommMessage(user.id, _sessionId, CommunicationMessage.ActionType.Spectate, -1, roomId); _eventHandler.SendNewEvent(toSend); }