public async Task AddUsersAsync(List <string> userEmails, HttpClient httpClient) { var response = await RoomUtility.AddUsersToRoom(RoomId, userEmails, httpClient); RoomParticipants = response.Users; InOutUser?.Invoke(); }
public Packet GetSpecialNodeData(Packet packet, Node node, Character player) { RoomUtility.DATA dataType = (RoomUtility.DATA)(int)(node.Call("get_data")); switch (dataType) { case RoomUtility.DATA.CHEST: case RoomUtility.DATA.SOUL_KEEPER: return(packet.AddU8(RoomUtility.IsChestOpened(player, node.GetMeta("id") as string + mapId) ? (byte)1 : (byte)0)); } return(null); }