You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.7 KiB
67 lines
1.7 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.Lobby
|
|
{
|
|
/// <summary>
|
|
/// Input parameters for the <see cref="LobbySearch.SetParameter" /> function.
|
|
/// </summary>
|
|
public struct LobbySearchSetParameterOptions
|
|
{
|
|
/// <summary>
|
|
/// Search parameter describing a key and a value to compare
|
|
/// </summary>
|
|
public AttributeData? Parameter { get; set; }
|
|
|
|
/// <summary>
|
|
/// The type of comparison to make against the search parameter
|
|
/// </summary>
|
|
public ComparisonOp ComparisonOp { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct LobbySearchSetParameterOptionsInternal : ISettable<LobbySearchSetParameterOptions>, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private System.IntPtr m_Parameter;
|
|
private ComparisonOp m_ComparisonOp;
|
|
|
|
public AttributeData? Parameter
|
|
{
|
|
set
|
|
{
|
|
Helper.Set<AttributeData, AttributeDataInternal>(ref value, ref m_Parameter);
|
|
}
|
|
}
|
|
|
|
public ComparisonOp ComparisonOp
|
|
{
|
|
set
|
|
{
|
|
m_ComparisonOp = value;
|
|
}
|
|
}
|
|
|
|
public void Set(ref LobbySearchSetParameterOptions other)
|
|
{
|
|
m_ApiVersion = LobbySearch.LobbysearchSetparameterApiLatest;
|
|
Parameter = other.Parameter;
|
|
ComparisonOp = other.ComparisonOp;
|
|
}
|
|
|
|
public void Set(ref LobbySearchSetParameterOptions? other)
|
|
{
|
|
if (other.HasValue)
|
|
{
|
|
m_ApiVersion = LobbySearch.LobbysearchSetparameterApiLatest;
|
|
Parameter = other.Value.Parameter;
|
|
ComparisonOp = other.Value.ComparisonOp;
|
|
}
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.Dispose(ref m_Parameter);
|
|
}
|
|
}
|
|
}
|