// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Lobby
{
///
/// Input parameters for the function.
///
public class LobbySearchSetParameterOptions
{
///
/// Search parameter describing a key and a value to compare
///
public AttributeData Parameter { get; set; }
///
/// The type of comparison to make against the search parameter
///
public ComparisonOp ComparisonOp { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct LobbySearchSetParameterOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_Parameter;
private ComparisonOp m_ComparisonOp;
public AttributeData Parameter
{
set
{
Helper.TryMarshalSet(ref m_Parameter, value);
}
}
public ComparisonOp ComparisonOp
{
set
{
m_ComparisonOp = value;
}
}
public void Set(LobbySearchSetParameterOptions other)
{
if (other != null)
{
m_ApiVersion = LobbySearch.LobbysearchSetparameterApiLatest;
Parameter = other.Parameter;
ComparisonOp = other.ComparisonOp;
}
}
public void Set(object other)
{
Set(other as LobbySearchSetParameterOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_Parameter);
}
}
}