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.6 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.RemoveParameter" /> function.
/// </summary>
public struct LobbySearchRemoveParameterOptions
{
/// <summary>
/// Search parameter key to remove from the search
/// </summary>
public Utf8String Key { get; set; }
/// <summary>
/// Search comparison operation associated with the key to remove
/// </summary>
public ComparisonOp ComparisonOp { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct LobbySearchRemoveParameterOptionsInternal : ISettable<LobbySearchRemoveParameterOptions>, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_Key;
private ComparisonOp m_ComparisonOp;
public Utf8String Key
{
set
{
Helper.Set(value, ref m_Key);
}
}
public ComparisonOp ComparisonOp
{
set
{
m_ComparisonOp = value;
}
}
public void Set(ref LobbySearchRemoveParameterOptions other)
{
m_ApiVersion = LobbySearch.LobbysearchRemoveparameterApiLatest;
Key = other.Key;
ComparisonOp = other.ComparisonOp;
}
public void Set(ref LobbySearchRemoveParameterOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = LobbySearch.LobbysearchRemoveparameterApiLatest;
Key = other.Value.Key;
ComparisonOp = other.Value.ComparisonOp;
}
}
public void Dispose()
{
Helper.Dispose(ref m_Key);
}
}
}