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.
69 lines
1.8 KiB
69 lines
1.8 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.Sessions
|
|
{
|
|
/// <summary>
|
|
/// Input parameters for the <see cref="SessionSearch.RemoveParameter" /> function.
|
|
///
|
|
/// Removal requires both the key and its comparator in order to remove as the same key can be used in more than one operation
|
|
/// </summary>
|
|
public struct SessionSearchRemoveParameterOptions
|
|
{
|
|
/// <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 SessionSearchRemoveParameterOptionsInternal : ISettable<SessionSearchRemoveParameterOptions>, 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 SessionSearchRemoveParameterOptions other)
|
|
{
|
|
m_ApiVersion = SessionSearch.SessionsearchRemoveparameterApiLatest;
|
|
Key = other.Key;
|
|
ComparisonOp = other.ComparisonOp;
|
|
}
|
|
|
|
public void Set(ref SessionSearchRemoveParameterOptions? other)
|
|
{
|
|
if (other.HasValue)
|
|
{
|
|
m_ApiVersion = SessionSearch.SessionsearchRemoveparameterApiLatest;
|
|
Key = other.Value.Key;
|
|
ComparisonOp = other.Value.ComparisonOp;
|
|
}
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.Dispose(ref m_Key);
|
|
}
|
|
}
|
|
}
|