// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Sessions { /// /// Input parameters for the 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 /// public struct SessionSearchRemoveParameterOptions { /// /// Search parameter key to remove from the search /// public Utf8String Key { get; set; } /// /// Search comparison operation associated with the key to remove /// public ComparisonOp ComparisonOp { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct SessionSearchRemoveParameterOptionsInternal : ISettable, 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); } } }