using System; using System.Collections.Generic; using UnityEngine.Scripting; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Unity.Services.Lobbies.Models { /// /// The body of a QuickJoin request. /// [Preserve] [DataContract(Name = "QuickJoinRequest")] public class QuickJoinRequest { /// /// The body of a QuickJoin request. /// /// A list of filters which can be used to narrow down which lobbies to attempt to join.. /// player param [Preserve] public QuickJoinRequest(List filter = default(List), Player player = default(Player)) { Filter = filter; Player = player; } /// /// A list of filters which can be used to narrow down which lobbies to attempt to join.. /// [Preserve] [DataMember(Name = "filter", EmitDefaultValue = false)] public List Filter{ get; } /// /// player param /// [Preserve] [DataMember(Name = "player", EmitDefaultValue = false)] public Player Player{ get; } } }