// 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. /// public struct CreateSessionSearchOptions { /// /// Max number of results to return /// public uint MaxSearchResults { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct CreateSessionSearchOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private uint m_MaxSearchResults; public uint MaxSearchResults { set { m_MaxSearchResults = value; } } public void Set(ref CreateSessionSearchOptions other) { m_ApiVersion = SessionsInterface.CreatesessionsearchApiLatest; MaxSearchResults = other.MaxSearchResults; } public void Set(ref CreateSessionSearchOptions? other) { if (other.HasValue) { m_ApiVersion = SessionsInterface.CreatesessionsearchApiLatest; MaxSearchResults = other.Value.MaxSearchResults; } } public void Dispose() { } } }