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.3 KiB
50 lines
1.3 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.UI
|
|
{
|
|
/// <summary>
|
|
/// Input parameters for the <see cref="UIInterface.SetDisplayPreference" /> function.
|
|
/// </summary>
|
|
public struct SetDisplayPreferenceOptions
|
|
{
|
|
/// <summary>
|
|
/// Preference for notification pop-up locations.
|
|
/// </summary>
|
|
public NotificationLocation NotificationLocation { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct SetDisplayPreferenceOptionsInternal : ISettable<SetDisplayPreferenceOptions>, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private NotificationLocation m_NotificationLocation;
|
|
|
|
public NotificationLocation NotificationLocation
|
|
{
|
|
set
|
|
{
|
|
m_NotificationLocation = value;
|
|
}
|
|
}
|
|
|
|
public void Set(ref SetDisplayPreferenceOptions other)
|
|
{
|
|
m_ApiVersion = UIInterface.SetdisplaypreferenceApiLatest;
|
|
NotificationLocation = other.NotificationLocation;
|
|
}
|
|
|
|
public void Set(ref SetDisplayPreferenceOptions? other)
|
|
{
|
|
if (other.HasValue)
|
|
{
|
|
m_ApiVersion = UIInterface.SetdisplaypreferenceApiLatest;
|
|
NotificationLocation = other.Value.NotificationLocation;
|
|
}
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
}
|
|
}
|
|
}
|