mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-11 15:40:46 +00:00
50 lines
1.1 KiB
C#
50 lines
1.1 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.UI
|
|
{
|
|
/// <summary>
|
|
/// Parameters for the <see cref="UIInterface.PrePresent" /> function.
|
|
/// </summary>
|
|
public class PrePresentOptions
|
|
{
|
|
/// <summary>
|
|
/// Platform specific data.
|
|
/// </summary>
|
|
public System.IntPtr PlatformSpecificData { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct PrePresentOptionsInternal : ISettable, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private System.IntPtr m_PlatformSpecificData;
|
|
|
|
public System.IntPtr PlatformSpecificData
|
|
{
|
|
set
|
|
{
|
|
m_PlatformSpecificData = value;
|
|
}
|
|
}
|
|
|
|
public void Set(PrePresentOptions other)
|
|
{
|
|
if (other != null)
|
|
{
|
|
m_ApiVersion = UIInterface.PrepresentApiLatest;
|
|
PlatformSpecificData = other.PlatformSpecificData;
|
|
}
|
|
}
|
|
|
|
public void Set(object other)
|
|
{
|
|
Set(other as PrePresentOptions);
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.TryMarshalDispose(ref m_PlatformSpecificData);
|
|
}
|
|
}
|
|
} |