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.
50 lines
1.2 KiB
50 lines
1.2 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="SessionsInterface.CreateSessionSearch" /> function.
|
|
/// </summary>
|
|
public struct CreateSessionSearchOptions
|
|
{
|
|
/// <summary>
|
|
/// Max number of results to return
|
|
/// </summary>
|
|
public uint MaxSearchResults { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct CreateSessionSearchOptionsInternal : ISettable<CreateSessionSearchOptions>, 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()
|
|
{
|
|
}
|
|
}
|
|
}
|