// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.UI { /// /// Parameters for the function. /// public class PrePresentOptions { /// /// Platform specific data. /// 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); } } }