// 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 class SessionSearchRemoveParameterOptions { /// /// Search parameter key to remove from the search /// public string 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 string Key { set { Helper.TryMarshalSet(ref m_Key, value); } } public ComparisonOp ComparisonOp { set { m_ComparisonOp = value; } } public void Set(SessionSearchRemoveParameterOptions other) { if (other != null) { m_ApiVersion = SessionSearch.SessionsearchRemoveparameterApiLatest; Key = other.Key; ComparisonOp = other.ComparisonOp; } } public void Set(object other) { Set(other as SessionSearchRemoveParameterOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_Key); } } }